]> git.karo-electronics.de Git - linux-beck.git/blobdiff - arch/x86/xen/suspend.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland...
[linux-beck.git] / arch / x86 / xen / suspend.c
index a9c6611080347bd4368beff2ab582d07347fa256..9bbd63a129b5869a4842238423217d620b26d79b 100644 (file)
@@ -26,6 +26,19 @@ void xen_pre_suspend(void)
                BUG();
 }
 
+void xen_hvm_post_suspend(int suspend_cancelled)
+{
+       int cpu;
+       xen_hvm_init_shared_info();
+       xen_callback_vector();
+       xen_unplug_emulated_devices();
+       if (xen_feature(XENFEAT_hvm_safe_pvclock)) {
+               for_each_online_cpu(cpu) {
+                       xen_setup_runstate_info(cpu);
+               }
+       }
+}
+
 void xen_post_suspend(int suspend_cancelled)
 {
        xen_build_mfn_list_list();