diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2011-02-17 11:04:20 +0000 |
---|---|---|
committer | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2011-02-25 16:43:12 +0000 |
commit | 03c8142bd2fb3b87effa6ecb2f8957be588bc85f (patch) | |
tree | 0cb78452092ae9252cd080dcee85c7c60a47e11e /drivers | |
parent | 36b401e2c2788c7b4881115ddbbff603fe4cf78d (diff) | |
download | linux-03c8142bd2fb3b87effa6ecb2f8957be588bc85f.tar.gz linux-03c8142bd2fb3b87effa6ecb2f8957be588bc85f.tar.bz2 linux-03c8142bd2fb3b87effa6ecb2f8957be588bc85f.zip |
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')
-rw-r--r-- | drivers/xen/manage.c | 6 |
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(); |