patch-2.1.22 linux/arch/i386/boot/compressed/misc.c

Next file: linux/arch/i386/boot/setup.S
Previous file: linux/arch/alpha/defconfig
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.21/linux/arch/i386/boot/compressed/misc.c linux/arch/i386/boot/compressed/misc.c
@@ -340,7 +340,11 @@
 
 void setup_normal_output_buffer()
 {
-	if (EXT_MEM_K < 1024) error("Less than 2MB of memory.\n");
+#ifdef STANDARD_MEMORY_BIOS_CALL
+	if (EXT_MEM_K < 1024) error("<2M of mem\n");
+#else
+	if (EXT_MEM_K*64 < 1024) error("<2M of mem\n");
+#endif
 	output_data = (char *)0x100000; /* Points to 1M */
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov