mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-16 18:08:20 +00:00
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 <ian.campbell@citrix.com> Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
This commit is contained in:
parent
8de07bbded
commit
1e6fcf840e
@ -68,15 +68,15 @@ static int xen_suspend(void *data)
|
|||||||
gnttab_resume();
|
gnttab_resume();
|
||||||
xen_mm_unpin_all();
|
xen_mm_unpin_all();
|
||||||
|
|
||||||
sysdev_resume();
|
|
||||||
device_power_up(PMSG_RESUME);
|
|
||||||
|
|
||||||
if (!*cancelled) {
|
if (!*cancelled) {
|
||||||
xen_irq_resume();
|
xen_irq_resume();
|
||||||
xen_console_resume();
|
xen_console_resume();
|
||||||
xen_timer_resume();
|
xen_timer_resume();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sysdev_resume();
|
||||||
|
device_power_up(PMSG_RESUME);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user