aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/xen/manage.c
diff options
context:
space:
mode:
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 3ccd348d112d..b703dd2c9f11 100644
--- a/drivers/xen/manage.c
+++ b/drivers/xen/manage.c
@@ -68,15 +68,15 @@ static int xen_suspend(void *data)
68 gnttab_resume(); 68 gnttab_resume();
69 xen_mm_unpin_all(); 69 xen_mm_unpin_all();
70 70
71 sysdev_resume();
72 device_power_up(PMSG_RESUME);
73
74 if (!*cancelled) { 71 if (!*cancelled) {
75 xen_irq_resume(); 72 xen_irq_resume();
76 xen_console_resume(); 73 xen_console_resume();
77 xen_timer_resume(); 74 xen_timer_resume();
78 } 75 }
79 76
77 sysdev_resume();
78 device_power_up(PMSG_RESUME);
79
80 return 0; 80 return 0;
81} 81}
82 82