diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2008-05-26 18:31:28 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-05-27 04:11:38 -0400 |
commit | 359cdd3f866b6219a6729e313faf2221397f3278 (patch) | |
tree | ec052599c175ee1ef0a2221670f18f6dad95cc77 /arch | |
parent | 0e91398f2a5d4eb6b07df8115917d0d1cf3e9b58 (diff) |
xen: maintain clock offset over save/restore
Hook into the device model to make sure that timekeeping's resume handler
is called. This deals with our clocksource's non-monotonicity over the
save/restore. Explicitly call clock_has_changed() to make sure that
all the timers get retriggered properly.
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/xen/time.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/x86/xen/time.c b/arch/x86/xen/time.c index 0bef256e5f2d..c39e1a5aa241 100644 --- a/arch/x86/xen/time.c +++ b/arch/x86/xen/time.c | |||
@@ -572,14 +572,6 @@ void xen_setup_cpu_clockevents(void) | |||
572 | clockevents_register_device(&__get_cpu_var(xen_clock_events)); | 572 | clockevents_register_device(&__get_cpu_var(xen_clock_events)); |
573 | } | 573 | } |
574 | 574 | ||
575 | void xen_time_suspend(void) | ||
576 | { | ||
577 | } | ||
578 | |||
579 | void xen_time_resume(void) | ||
580 | { | ||
581 | } | ||
582 | |||
583 | __init void xen_time_init(void) | 575 | __init void xen_time_init(void) |
584 | { | 576 | { |
585 | int cpu = smp_processor_id(); | 577 | int cpu = smp_processor_id(); |