xen: suspend: add "arch" to pre/post suspend hooks
xen_pre_device_suspend is unused on ia64.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
diff --git a/drivers/xen/manage.c b/drivers/xen/manage.c
index 6ce6b91..134eb73 100644
--- a/drivers/xen/manage.c
+++ b/drivers/xen/manage.c
@@ -61,7 +61,7 @@
*/
si->cancelled = HYPERVISOR_suspend(si->arg);
- xen_hvm_post_suspend(si->cancelled);
+ xen_arch_hvm_post_suspend(si->cancelled);
gnttab_resume();
if (!si->cancelled) {
@@ -91,7 +91,7 @@
xen_mm_pin_all();
gnttab_suspend();
- xen_pre_suspend();
+ xen_arch_pre_suspend();
/*
* This hypercall returns 1 if suspend was cancelled
@@ -100,7 +100,7 @@
*/
si->cancelled = HYPERVISOR_suspend(si->arg);
- xen_post_suspend(si->cancelled);
+ xen_arch_post_suspend(si->cancelled);
gnttab_resume();
xen_mm_unpin_all();