diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2008-05-31 02:33:03 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-06-02 13:25:44 +0200 |
commit | d07af1f0e3a3e378074fc36322dd7b0e72d9a3e2 (patch) | |
tree | 03bdfcd4bc079704eae010e6006301f801c9eefc /arch/x86/xen/suspend.c | |
parent | xen: restore vcpu_info mapping (diff) | |
download | linux-d07af1f0e3a3e378074fc36322dd7b0e72d9a3e2.tar.xz linux-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.c | 1 |
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(); } } |