Skip to content

Commit

Permalink
xen: register runstate info for boot CPU early
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jeremy Fitzhardinge committed Dec 3, 2009
1 parent 0288967 commit 499d19b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/x86/xen/enlighten.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 499d19b

Please sign in to comment.