patch-2.2.12 linux/arch/alpha/kernel/setup.c

Next file: linux/arch/alpha/math-emu/Makefile
Previous file: linux/arch/alpha/kernel/process.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.11/linux/arch/alpha/kernel/setup.c linux/arch/alpha/kernel/setup.c
@@ -340,8 +340,11 @@
 	high = (high + PAGE_SIZE) & (PAGE_MASK*2);
 
 	/* Enforce maximum of 2GB even if there is more.  Blah.  */
-	if (high > 0x80000000UL)
+	if (high > 0x80000000UL) {
+		printk("Cropping memory from %luMB to 2048MB\n", high);
 		high = 0x80000000UL;
+	}
+
 	return PAGE_OFFSET + high;
 }
 

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