Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9a5a2cac authored by Ian Campbell's avatar Ian Campbell Committed by Jeremy Fitzhardinge
Browse files

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: default avatarIan Campbell <ian.campbell@citrix.com>
Signed-off-by: default avatarJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
parent e3f8a74e
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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;
}