xen: call clock resume notifier on all CPUs
commit0bf7bb9861a419c63055293ddec67329165f8d84
authorIan Campbell <Ian.Campbell@citrix.com>
Wed, 25 Nov 2009 14:12:08 +0000 (25 14:12 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 18 Dec 2009 22:04:52 +0000 (18 14:04 -0800)
tree4876fac3df4dad5d5340d47132738d9f8cfb710f
parentc7092102563af5c81bd8d08582fdbe4529cbcf17
xen: call clock resume notifier on all CPUs

commit f6eafe3665bcc374c66775d58312d1c06c55303f upstream.

tick_resume() is never called on secondary processors. Presumably this
is because they are offlined for suspend on native and so this is
normally taken care of in the CPU onlining path. Under Xen we keep all
CPUs online over a suspend.

This patch papers over the issue for me but I will investigate a more
generic, less hacky, way of doing to the same.

tick_suspend is also only called on the boot CPU which I presume should
be fixed too.

Signed-off-by: Ian Campbell <Ian.Campbell@citrix.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/xen/suspend.c