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>
This commit is contained in:
committed by
Thomas Gleixner
parent
0e91398f2a
commit
359cdd3f86
@ -572,14 +572,6 @@ void xen_setup_cpu_clockevents(void)
|
||||
clockevents_register_device(&__get_cpu_var(xen_clock_events));
|
||||
}
|
||||
|
||||
void xen_time_suspend(void)
|
||||
{
|
||||
}
|
||||
|
||||
void xen_time_resume(void)
|
||||
{
|
||||
}
|
||||
|
||||
__init void xen_time_init(void)
|
||||
{
|
||||
int cpu = smp_processor_id();
|
||||
|
Reference in New Issue
Block a user