diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-05-29 23:56:36 +0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-05-31 11:55:47 +0400 |
commit | f0d43100f13be0fa5bf52741d7084bb27f00e621 (patch) | |
tree | 768e44de5624e110c358ed0b5f5e6582ee2bbbea /arch/x86/kernel/head_32.S | |
parent | 3945e2c9abf8e00c2edc4aa29215ddfad1cd8cf7 (diff) | |
download | linux-f0d43100f13be0fa5bf52741d7084bb27f00e621.tar.xz |
x86: extend e820 early_res support 32bit -fix #3
introduce init_pg_table_start, so xen PV could specify the value.
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/head_32.S')
-rw-r--r-- | arch/x86/kernel/head_32.S | 2 |
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: xorl %ebx,%ebx /* %ebx is kept at zero */ movl $pa(pg0), %edi + movl %edi, pa(init_pg_tables_start) movl $pa(swapper_pg_pmd), %edx movl $PTE_ATTR, %eax 10: @@ -228,6 +229,7 @@ default_entry: page_pde_offset = (__PAGE_OFFSET >> 20); movl $pa(pg0), %edi + movl %edi, pa(init_pg_tables_start) movl $pa(swapper_pg_dir), %edx movl $PTE_ATTR, %eax 10: |