patch-2.4.25 linux-2.4.25/arch/ppc/mm/pgtable.c

Next file: linux-2.4.25/arch/ppc/platforms/Makefile
Previous file: linux-2.4.25/arch/ppc/kernel/setup.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.24/arch/ppc/mm/pgtable.c linux-2.4.25/arch/ppc/mm/pgtable.c
@@ -258,7 +258,7 @@
 
 	printk(KERN_INFO "Memory BAT mapping: BAT2=%ldMb, BAT3=%ldMb,"
 			" residual: %ldMb\n", __bat2 >> 20, __bat3 >> 20,
-			(total_lowmem - (__bat2 - __bat3)) >> 20);
+			(total_lowmem - (__bat2 + __bat3)) >> 20);
 
 	/* On SMP, we limit the lowmem to the area mapped with BATs.
 	 * We also assume nobody will do SMP with 601s

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)