patch-2.1.90 linux/arch/i386/mm/init.c

Next file: linux/arch/i386/vmlinux.lds
Previous file: linux/arch/i386/kernel/trampoline.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.89/linux/arch/i386/mm/init.c linux/arch/i386/mm/init.c
@@ -204,8 +204,8 @@
 	/* unmap the original low memory mappings */
 	pgd_val(pg_dir[0]) = 0;
 
-	/* Map whole memory from 0xC0000000 */
-	pg_dir += 768;
+	/* Map whole memory from PAGE_OFFSET */
+	pg_dir += USER_PGD_PTRS;
 	while (address < end_mem) {
 		/*
 		 * If we're running on a Pentium CPU, we can use the 4MB

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