diff options
author | Ian Campbell <Ian.Campbell@citrix.com> | 2009-11-20 19:35:55 -0500 |
---|---|---|
committer | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2009-12-03 14:14:50 -0500 |
commit | be012920ecba161ad20303a3f6d9e96c58cf97c7 (patch) | |
tree | eb14f70bc852829c55fab84e28220f525379c3f2 /arch/x86/xen/xen-ops.h | |
parent | ae7888012969355a548372e99b066d9e31153b62 (diff) |
xen: re-register runstate area earlier on resume.
This is necessary to ensure the runstate area is available to
xen_sched_clock before any calls to printk which will require it in
order to provide a timestamp.
I chose to pull the xen_setup_runstate_info out of xen_time_init into
the caller in order to maintain parity with calling
xen_setup_runstate_info separately from calling xen_time_resume.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: Stable Kernel <stable@kernel.org>
Diffstat (limited to 'arch/x86/xen/xen-ops.h')
-rw-r--r-- | arch/x86/xen/xen-ops.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/xen/xen-ops.h b/arch/x86/xen/xen-ops.h index 355fa6b99c9c..32529326683d 100644 --- a/arch/x86/xen/xen-ops.h +++ b/arch/x86/xen/xen-ops.h | |||
@@ -41,6 +41,7 @@ void __init xen_build_dynamic_phys_to_machine(void); | |||
41 | 41 | ||
42 | void xen_init_irq_ops(void); | 42 | void xen_init_irq_ops(void); |
43 | void xen_setup_timer(int cpu); | 43 | void xen_setup_timer(int cpu); |
44 | void xen_setup_runstate_info(int cpu); | ||
44 | void xen_teardown_timer(int cpu); | 45 | void xen_teardown_timer(int cpu); |
45 | cycle_t xen_clocksource_read(void); | 46 | cycle_t xen_clocksource_read(void); |
46 | void xen_setup_cpu_clockevents(void); | 47 | void xen_setup_cpu_clockevents(void); |