aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2011-02-17 06:04:20 -0500
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>2011-02-25 11:43:12 -0500
commit03c8142bd2fb3b87effa6ecb2f8957be588bc85f (patch)
tree0cb78452092ae9252cd080dcee85c7c60a47e11e /drivers
parent36b401e2c2788c7b4881115ddbbff603fe4cf78d (diff)
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.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)
61 */ 61 */
62 si->cancelled = HYPERVISOR_suspend(si->arg); 62 si->cancelled = HYPERVISOR_suspend(si->arg);
63 63
64 xen_hvm_post_suspend(si->cancelled); 64 xen_arch_hvm_post_suspend(si->cancelled);
65 gnttab_resume(); 65 gnttab_resume();
66 66
67 if (!si->cancelled) { 67 if (!si->cancelled) {
@@ -91,7 +91,7 @@ static int xen_suspend(void *data)
91 91
92 xen_mm_pin_all(); 92 xen_mm_pin_all();
93 gnttab_suspend(); 93 gnttab_suspend();
94 xen_pre_suspend(); 94 xen_arch_pre_suspend();
95 95
96 /* 96 /*
97 * This hypercall returns 1 if suspend was cancelled 97 * This hypercall returns 1 if suspend was cancelled
@@ -100,7 +100,7 @@ static int xen_suspend(void *data)
100 */ 100 */
101 si->cancelled = HYPERVISOR_suspend(si->arg); 101 si->cancelled = HYPERVISOR_suspend(si->arg);
102 102
103 xen_post_suspend(si->cancelled); 103 xen_arch_post_suspend(si->cancelled);
104 gnttab_resume(); 104 gnttab_resume();
105 xen_mm_unpin_all(); 105 xen_mm_unpin_all();
106 106