summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2009-11-24 09:38:25 -0800
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2009-12-03 11:14:53 -0800
commit499d19b82b586aef18727b9ae1437f8f37b66e91 (patch)
treec18c00d6c539d97720c8bd2f694fa976809bd08c
parent028896721ac04f6fa0697f3ecac3f98761746363 (diff)
downloadlinux-499d19b82b586aef18727b9ae1437f8f37b66e91.tar.gz
linux-499d19b82b586aef18727b9ae1437f8f37b66e91.tar.bz2
linux-499d19b82b586aef18727b9ae1437f8f37b66e91.zip
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>
-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)
xen_raw_console_write("about to get started...\n");
+ xen_setup_runstate_info(0);
+
/* Start the world */
#ifdef CONFIG_X86_32
i386_start_kernel();