Revert "x86_64: there's no need to preallocate level1_fixmap_pgt"
authorIngo Molnar <mingo@elte.hu>
Wed, 9 Jul 2008 20:32:33 +0000 (22:32 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 16 Jul 2008 09:07:30 +0000 (11:07 +0200)
This reverts commit 033786969d1d1b5af12a32a19d3a760314d05329.

Suresh Siddha reported that this broke booting on his 2GB testbox.

Reported-by: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/head_64.S

index 2240f82..db3280a 100644 (file)
@@ -362,6 +362,12 @@ NEXT_PAGE(level3_kernel_pgt)
        .quad   level2_fixmap_pgt - __START_KERNEL_map + _PAGE_TABLE
 
 NEXT_PAGE(level2_fixmap_pgt)
+       .fill   506,8,0
+       .quad   level1_fixmap_pgt - __START_KERNEL_map + _PAGE_TABLE
+       /* 8MB reserved for vsyscalls + a 2MB hole = 4 + 1 entries */
+       .fill   5,8,0
+
+NEXT_PAGE(level1_fixmap_pgt)
        .fill   512,8,0
 
 NEXT_PAGE(level2_ident_pgt)