]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
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 2240f823676a73ecbae3d3eb78fd007a8215ddc2..db3280afe886f1b97a9f2c383afc4ac80993a060 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)