From: Ian Campbell Date: Wed, 25 Mar 2009 17:46:42 +0000 (+0000) Subject: xen: resume interrupts before system devices. X-Git-Tag: upstream/snapshot3+hdmi~19159^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9a5a2cac9f99c98d9d15cec17b1904f29d0e8009;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git xen: resume interrupts before system devices. Impact: bugfix Xen domain restore Otherwise the first timer interrupt after resume is missed and we never get another. Signed-off-by: Ian Campbell Signed-off-by: Jeremy Fitzhardinge --- diff --git a/drivers/xen/manage.c b/drivers/xen/manage.c index 0d61db1..4b5b848 100644 --- a/drivers/xen/manage.c +++ b/drivers/xen/manage.c @@ -62,14 +62,15 @@ static int xen_suspend(void *data) gnttab_resume(); xen_mm_unpin_all(); - sysdev_resume(); - if (!*cancelled) { xen_irq_resume(); xen_console_resume(); xen_timer_resume(); } + sysdev_resume(); + device_power_up(PMSG_RESUME); + return 0; }