summaryrefslogtreecommitdiffstats
path: root/arch/x86/xen/suspend.c
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2008-05-31 01:33:03 +0100
committerIngo Molnar <mingo@elte.hu>2008-06-02 13:25:44 +0200
commitd07af1f0e3a3e378074fc36322dd7b0e72d9a3e2 (patch)
tree03bdfcd4bc079704eae010e6006301f801c9eefc /arch/x86/xen/suspend.c
parent9c7a794209f8a91f47697c3be20597eb60531e6d (diff)
downloadlinux-stable-d07af1f0e3a3e378074fc36322dd7b0e72d9a3e2.tar.gz
linux-stable-d07af1f0e3a3e378074fc36322dd7b0e72d9a3e2.tar.bz2
linux-stable-d07af1f0e3a3e378074fc36322dd7b0e72d9a3e2.zip
xen: resume timers on all vcpus
On resume, the vcpu timer modes will not be restored. The timer infrastructure doesn't do this for us, since it assumes the cpus are offline. We can just poke the other vcpus into the right mode directly though. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/xen/suspend.c')
-rw-r--r--arch/x86/xen/suspend.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/xen/suspend.c b/arch/x86/xen/suspend.c
index 7ab10f6b39a5..251669a932d4 100644
--- a/arch/x86/xen/suspend.c
+++ b/arch/x86/xen/suspend.c
@@ -38,6 +38,7 @@ void xen_post_suspend(int suspend_cancelled)
xen_cpu_initialized_map = cpu_online_map;
#endif
xen_vcpu_restore();
+ xen_timer_resume();
}
}