aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/head_32.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/head_32.S')
-rw-r--r--arch/x86/kernel/head_32.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/head_32.S b/arch/x86/kernel/head_32.S
index b2cc73768a9d..bef4618feadb 100644
--- a/arch/x86/kernel/head_32.S
+++ b/arch/x86/kernel/head_32.S
@@ -194,6 +194,7 @@ default_entry:
194 xorl %ebx,%ebx /* %ebx is kept at zero */ 194 xorl %ebx,%ebx /* %ebx is kept at zero */
195 195
196 movl $pa(pg0), %edi 196 movl $pa(pg0), %edi
197 movl %edi, pa(init_pg_tables_start)
197 movl $pa(swapper_pg_pmd), %edx 198 movl $pa(swapper_pg_pmd), %edx
198 movl $PTE_ATTR, %eax 199 movl $PTE_ATTR, %eax
19910: 20010:
@@ -228,6 +229,7 @@ default_entry:
228page_pde_offset = (__PAGE_OFFSET >> 20); 229page_pde_offset = (__PAGE_OFFSET >> 20);
229 230
230 movl $pa(pg0), %edi 231 movl $pa(pg0), %edi
232 movl %edi, pa(init_pg_tables_start)
231 movl $pa(swapper_pg_dir), %edx 233 movl $pa(swapper_pg_dir), %edx
232 movl $PTE_ATTR, %eax 234 movl $PTE_ATTR, %eax
23310: 23510: