aboutsummaryrefslogtreecommitdiffstats
path: root/arch/i386/kernel/head.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/i386/kernel/head.S')
-rw-r--r--arch/i386/kernel/head.S8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/i386/kernel/head.S b/arch/i386/kernel/head.S
index f74dfc419b56..82714668d43b 100644
--- a/arch/i386/kernel/head.S
+++ b/arch/i386/kernel/head.S
@@ -168,6 +168,12 @@ page_pde_offset = (__PAGE_OFFSET >> 20);
168.section .init.text,"ax",@progbits 168.section .init.text,"ax",@progbits
169#endif 169#endif
170 170
171 /* Do an early initialization of the fixmap area */
172 movl $(swapper_pg_dir - __PAGE_OFFSET), %edx
173 movl $(swapper_pg_pmd - __PAGE_OFFSET), %eax
174 addl $0x007, %eax /* 0x007 = PRESENT+RW+USER */
175 movl %eax, 4092(%edx)
176
171#ifdef CONFIG_SMP 177#ifdef CONFIG_SMP
172ENTRY(startup_32_smp) 178ENTRY(startup_32_smp)
173 cld 179 cld
@@ -507,6 +513,8 @@ ENTRY(_stext)
507.section ".bss.page_aligned","w" 513.section ".bss.page_aligned","w"
508ENTRY(swapper_pg_dir) 514ENTRY(swapper_pg_dir)
509 .fill 1024,4,0 515 .fill 1024,4,0
516ENTRY(swapper_pg_pmd)
517 .fill 1024,4,0
510ENTRY(empty_zero_page) 518ENTRY(empty_zero_page)
511 .fill 4096,1,0 519 .fill 4096,1,0
512 520