summaryrefslogtreecommitdiff
path: root/arch/x86/xen/suspend.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-05-29 11:27:50 +0300
committerTakashi Iwai <tiwai@suse.de>2015-05-29 11:27:50 +0300
commit984a8547052711867332eeaec4141755fc040553 (patch)
treec8bbc1e16d11c023e1a7ec0421401be0a0e4a304 /arch/x86/xen/suspend.c
parent3270f0dd1a35d6b785bf39e1ed7ed6e1e43c8ebb (diff)
parentb47eee2e0a7de623c24dbcaf303c3bf2b5155455 (diff)
downloadlinux-984a8547052711867332eeaec4141755fc040553.tar.xz
Merge branch 'for-linus' into for-next
Merge back the latest HD-audio stuff for further development.
Diffstat (limited to 'arch/x86/xen/suspend.c')
-rw-r--r--arch/x86/xen/suspend.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/x86/xen/suspend.c b/arch/x86/xen/suspend.c
index d9497698645a..53b4c0811f4f 100644
--- a/arch/x86/xen/suspend.c
+++ b/arch/x86/xen/suspend.c
@@ -88,7 +88,17 @@ static void xen_vcpu_notify_restore(void *data)
tick_resume_local();
}
+static void xen_vcpu_notify_suspend(void *data)
+{
+ tick_suspend_local();
+}
+
void xen_arch_resume(void)
{
on_each_cpu(xen_vcpu_notify_restore, NULL, 1);
}
+
+void xen_arch_suspend(void)
+{
+ on_each_cpu(xen_vcpu_notify_suspend, NULL, 1);
+}