From: Jeremy Fitzhardinge Date: Tue, 24 Nov 2009 17:38:25 +0000 (-0800) Subject: xen: register runstate info for boot CPU early X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=499d19b82b586aef18727b9ae1437f8f37b66e91;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git 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 Cc: Stable Kernel --- 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();