diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2018-06-04 01:51:42 +0100 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2018-06-16 22:22:30 +0100 |
commit | 72c6776c76325f950a6f5963137febd3907a7720 (patch) | |
tree | ba9eaaa8a3df7c44c9554f0bd4595cf419cdedef /include | |
parent | ec88bd138bb46068f6efd99a96b8cf1f6f1e66d2 (diff) | |
download | linux-stable-72c6776c76325f950a6f5963137febd3907a7720.tar.gz linux-stable-72c6776c76325f950a6f5963137febd3907a7720.tar.bz2 linux-stable-72c6776c76325f950a6f5963137febd3907a7720.zip |
xen: Add xen_arch_suspend()
This is based on commit 2b953a5e994ce279904ec70220f7d4f31d380a0a
upstream, "xen: Suspend ticks on all CPUs during suspend", but
excluding the bug fix in that commit which is not needed in 3.16.
We only need the xen_arch_suspend() hook for the following fix.
Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: David Vrabel <david.vrabel@citrix.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/xen/xen-ops.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/xen/xen-ops.h b/include/xen/xen-ops.h index 0b3149ed7eaa..ff05022328a7 100644 --- a/include/xen/xen-ops.h +++ b/include/xen/xen-ops.h @@ -12,6 +12,7 @@ void xen_arch_post_suspend(int suspend_cancelled); void xen_timer_resume(void); void xen_arch_resume(void); +void xen_arch_suspend(void); void xen_resume_notifier_register(struct notifier_block *nb); void xen_resume_notifier_unregister(struct notifier_block *nb); |