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:
Jeremy Fitzhardinge
2008-05-26 23:31:28 +01:00
committed by Thomas Gleixner
parent 0e91398f2a
commit 359cdd3f86
3 changed files with 12 additions and 14 deletions

View File

@@ -11,7 +11,4 @@ void xen_post_suspend(int suspend_cancelled);
void xen_mm_pin_all(void);
void xen_mm_unpin_all(void);
void xen_time_suspend(void);
void xen_time_resume(void);
#endif /* INCLUDE_XEN_OPS_H */