Skip to content

Commit

Permalink
xen: resume interrupts before system devices.
Browse files Browse the repository at this point in the history
Impact: bugfix Xen domain restore

Otherwise the first timer interrupt after resume is missed and we never
get another.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
  • Loading branch information
Ian Campbell authored and Jeremy Fitzhardinge committed Apr 8, 2009
1 parent e3f8a74 commit 9a5a2ca
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions drivers/xen/manage.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 9a5a2ca

Please sign in to comment.