--SAP.Boundary.1819UUeyeELesOHenNhOj
Content-Type: TEXT/PLAIN; CHARSET="ISO-8859-1"
Content-Transfer-Encoding: 7BIT
Content-ID: <SAPOffice.1>
Content-Description: highmem patch
--SAP.Boundary.1819UUeyeELesOHenNhOj
Content-Type: TEXT/PLAIN; CHARSET="ISO-8859-1"
Content-Transfer-Encoding: 7BIT
Content-ID: <SAPOffice.2>
Content-Description: highmem patch
Hi,
here comes a patch against 2.3.26. Without this patch a kernel configured for 4GB
memory won't boot if you have usable RAM in your e820 map above 4GB.
--- linux-2.3.26/arch/i386/kernel/setup.c Tue Oct 26 05:51:13 1999
+++ linux-2.3.26-4GBpatch/arch/i386/kernel/setup.c Thu Nov 11 16:01:46 1999
@@ -600,6 +600,10 @@
if (e820.map[i].type != E820_RAM)
continue;
curr_pfn = PFN_DOWN(e820.map[i].addr + e820.map[i].size);
+#ifndef CONFIG_X86_PAE
+ if (curr_pfn != PFN_DOWN(PFN_PHYS(curr_pfn)))
+ continue;
+#endif
if (curr_pfn > max_pfn)
max_pfn = curr_pfn;
}
-Gerhard.
--SAP.Boundary.1819UUeyeELesOHenNhOj--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/