xen: maintain clock offset over save/restore
authorJeremy Fitzhardinge <jeremy@goop.org>
Mon, 26 May 2008 22:31:28 +0000 (23:31 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 27 May 2008 08:11:38 +0000 (10:11 +0200)
commit359cdd3f866b6219a6729e313faf2221397f3278
treeec052599c175ee1ef0a2221670f18f6dad95cc77
parent0e91398f2a5d4eb6b07df8115917d0d1cf3e9b58
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>
arch/x86/xen/time.c
drivers/xen/manage.c
include/xen/xen-ops.h