aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/xen/enlighten.c
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2009-11-24 12:38:25 -0500
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2009-12-03 14:14:53 -0500
commit499d19b82b586aef18727b9ae1437f8f37b66e91 (patch)
treec18c00d6c539d97720c8bd2f694fa976809bd08c /arch/x86/xen/enlighten.c
parent028896721ac04f6fa0697f3ecac3f98761746363 (diff)
xen: register runstate info for boot CPU early
printk timestamping uses sched_clock, which in turn relies on runstate info under Xen. So make sure we set it up before any printks can be called. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Cc: Stable Kernel <stable@kernel.org>
Diffstat (limited to 'arch/x86/xen/enlighten.c')
-rw-r--r--arch/x86/xen/enlighten.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c
index a7b49f99a130..79f97383cde3 100644
--- a/arch/x86/xen/enlighten.c
+++ b/arch/x86/xen/enlighten.c
@@ -1181,6 +1181,8 @@ asmlinkage void __init xen_start_kernel(void)
1181 1181
1182 xen_raw_console_write("about to get started...\n"); 1182 xen_raw_console_write("about to get started...\n");
1183 1183
1184 xen_setup_runstate_info(0);
1185
1184 /* Start the world */ 1186 /* Start the world */
1185#ifdef CONFIG_X86_32 1187#ifdef CONFIG_X86_32
1186 i386_start_kernel(); 1188 i386_start_kernel();