patch arch/ppc/mm/pgtable.c

From: Thomas Gleixner <hidden>
Date: 2003-04-10 21:53:47

If HAVE_BATS is not defined, compile stop later as total_lowmem is undefined.

--
Thomas
________________________________________________________________________
linutronix - competence in embedded & realtime linux
http://www.linutronix.de
mail: tglx@linutronix.de

diff -urN linux-2.4.20-ppc/arch/ppc/mm/pgtable.c
linux-2.4.20-ppc-work/arch/ppc/mm/pgtable.c
--- linux-2.4.20-ppc/arch/ppc/mm/pgtable.c	Tue Apr  1 19:39:25 2003
+++ linux-2.4.20-ppc-work/arch/ppc/mm/pgtable.c	Tue Apr  1 21:02:20 2003
@@ -199,11 +199,11 @@
 adjust_total_lowmem(void)
 {
 	unsigned long max_low_mem = MAX_LOW_MEM;
+	unsigned long ram = total_lowmem;

 #ifdef HAVE_BATS
 	unsigned long bat_max = 0x10000000;
 	unsigned long align;
-	unsigned long ram = total_lowmem;
 	int is601 = 0;

 	/* 601s have smaller BATs */

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help