aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/lguest/boot.c
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-05-29 15:56:36 -0400
committerIngo Molnar <mingo@elte.hu>2008-05-31 03:55:47 -0400
commitf0d43100f13be0fa5bf52741d7084bb27f00e621 (patch)
tree768e44de5624e110c358ed0b5f5e6582ee2bbbea /arch/x86/lguest/boot.c
parent3945e2c9abf8e00c2edc4aa29215ddfad1cd8cf7 (diff)
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/lguest/boot.c')
-rw-r--r--arch/x86/lguest/boot.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/x86/lguest/boot.c b/arch/x86/lguest/boot.c
index af65b2da3ba0..bf7c34a3aaeb 100644
--- a/arch/x86/lguest/boot.c
+++ b/arch/x86/lguest/boot.c
@@ -1011,6 +1011,7 @@ __init void lguest_init(void)
1011 * clobbered. The Launcher places our initial pagetables somewhere at 1011 * clobbered. The Launcher places our initial pagetables somewhere at
1012 * the top of our physical memory, so we don't need extra space: set 1012 * the top of our physical memory, so we don't need extra space: set
1013 * init_pg_tables_end to the end of the kernel. */ 1013 * init_pg_tables_end to the end of the kernel. */
1014 init_pg_tables_start = __pa(pg0);
1014 init_pg_tables_end = __pa(pg0); 1015 init_pg_tables_end = __pa(pg0);
1015 1016
1016 /* Load the %fs segment register (the per-cpu segment register) with 1017 /* Load the %fs segment register (the per-cpu segment register) with
@@ -1064,9 +1065,9 @@ __init void lguest_init(void)
1064 pm_power_off = lguest_power_off; 1065 pm_power_off = lguest_power_off;
1065 machine_ops.restart = lguest_restart; 1066 machine_ops.restart = lguest_restart;
1066 1067
1067 /* Now we're set up, call start_kernel() in init/main.c and we proceed 1068 /* Now we're set up, call i386_start_kernel() in head32.c and we proceed
1068 * to boot as normal. It never returns. */ 1069 * to boot as normal. It never returns. */
1069 start_kernel(); 1070 i386_start_kernel();
1070} 1071}
1071/* 1072/*
1072 * This marks the end of stage II of our journey, The Guest. 1073 * This marks the end of stage II of our journey, The Guest.