patch arch/ppc/mm/pgtable.c
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: [email protected]
diff -urN linux-2.4.20-ppc/arch/ppc/mm/pgtable.clinux-2.4.20-ppc-work/arch/ppc/mm/pgtable.c
arch/ppc/mm/pgtable.c +1 -1
@@ -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/