diff --git a/drivers/xen/manage.c b/drivers/xen/manage.c index 3ccd348d112d62036f4e63a038d23deca7ed67f7..b703dd2c9f11e2f105135841843a8c30a20ea14e 100644 --- a/drivers/xen/manage.c +++ b/drivers/xen/manage.c @@ -68,15 +68,15 @@ static int xen_suspend(void *data) gnttab_resume(); xen_mm_unpin_all(); - sysdev_resume(); - device_power_up(PMSG_RESUME); - if (!*cancelled) { xen_irq_resume(); xen_console_resume(); xen_timer_resume(); } + sysdev_resume(); + device_power_up(PMSG_RESUME); + return 0; }