diff options
author | David Vrabel <david.vrabel@citrix.com> | 2014-05-08 06:09:23 -0400 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2014-05-12 12:19:56 -0400 |
commit | aa8532c32216ae07c3813b9aeb774517878a7573 (patch) | |
tree | 4a718b5c8ba94d2d73e83ad7e50e3796a41b345f /include/xen | |
parent | 9f1d341415b9d84fcf0cb04f409bd61fac5e2f14 (diff) |
xen: refactor suspend pre/post hooks
New architectures currently have to provide implementations of 5 different
functions: xen_arch_pre_suspend(), xen_arch_post_suspend(),
xen_arch_hvm_post_suspend(), xen_mm_pin_all(), and xen_mm_unpin_all().
Refactor the suspend code to only require xen_arch_pre_suspend() and
xen_arch_post_suspend().
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Diffstat (limited to 'include/xen')
-rw-r--r-- | include/xen/xen-ops.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/xen/xen-ops.h b/include/xen/xen-ops.h index 2cf47175b12b..0b3149ed7eaa 100644 --- a/include/xen/xen-ops.h +++ b/include/xen/xen-ops.h | |||
@@ -9,10 +9,6 @@ DECLARE_PER_CPU(struct vcpu_info *, xen_vcpu); | |||
9 | 9 | ||
10 | void xen_arch_pre_suspend(void); | 10 | void xen_arch_pre_suspend(void); |
11 | void xen_arch_post_suspend(int suspend_cancelled); | 11 | void xen_arch_post_suspend(int suspend_cancelled); |
12 | void xen_arch_hvm_post_suspend(int suspend_cancelled); | ||
13 | |||
14 | void xen_mm_pin_all(void); | ||
15 | void xen_mm_unpin_all(void); | ||
16 | 12 | ||
17 | void xen_timer_resume(void); | 13 | void xen_timer_resume(void); |
18 | void xen_arch_resume(void); | 14 | void xen_arch_resume(void); |