summaryrefslogtreecommitdiff
path: root/drivers/xen/manage.c
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2011-02-17 14:04:20 +0300
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>2011-02-25 19:43:12 +0300
commit03c8142bd2fb3b87effa6ecb2f8957be588bc85f (patch)
tree0cb78452092ae9252cd080dcee85c7c60a47e11e /drivers/xen/manage.c
parent36b401e2c2788c7b4881115ddbbff603fe4cf78d (diff)
downloadlinux-03c8142bd2fb3b87effa6ecb2f8957be588bc85f.tar.xz
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>
Diffstat (limited to 'drivers/xen/manage.c')
-rw-r--r--drivers/xen/manage.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/xen/manage.c b/drivers/xen/manage.c
index 6ce6b91e7645..134eb73ca596 100644
--- a/drivers/xen/manage.c
+++ b/drivers/xen/manage.c
@@ -61,7 +61,7 @@ static int xen_hvm_suspend(void *data)
*/
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 @@ static int xen_suspend(void *data)
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 @@ static int xen_suspend(void *data)
*/
si->cancelled = HYPERVISOR_suspend(si->arg);
- xen_post_suspend(si->cancelled);
+ xen_arch_post_suspend(si->cancelled);
gnttab_resume();
xen_mm_unpin_all();