commit | aa8532c32216ae07c3813b9aeb774517878a7573 | [log] [tgz] |
---|---|---|
author | David Vrabel <david.vrabel@citrix.com> | Thu May 08 11:09:23 2014 +0100 |
committer | David Vrabel <david.vrabel@citrix.com> | Mon May 12 17:19:56 2014 +0100 |
tree | 4a718b5c8ba94d2d73e83ad7e50e3796a41b345f | |
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>