aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/xen/control
diff options
context:
space:
mode:
authorRoger Pau Monné <royger@FreeBSD.org>2016-05-11 10:10:25 +0000
committerRoger Pau Monné <royger@FreeBSD.org>2016-05-11 10:10:25 +0000
commit4ea0b4ad1a4a2f3d2ffb0db8b7c24fe947f8480c (patch)
treefe1792fb9a1d8364a284794a4cb19b3838d7976e /sys/dev/xen/control
parent5d35d77707445a926f463606a81ef3186c9206dc (diff)
Notes
Diffstat (limited to 'sys/dev/xen/control')
-rw-r--r--sys/dev/xen/control/control.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/xen/control/control.c b/sys/dev/xen/control/control.c
index 8cf59694d1c7..a62b2cae45fa 100644
--- a/sys/dev/xen/control/control.c
+++ b/sys/dev/xen/control/control.c
@@ -260,14 +260,14 @@ xctrl_suspend()
gnttab_resume(NULL);
#ifdef SMP
- /* Send an IPI_BITMAP in case there are pending bitmap IPIs. */
- lapic_ipi_vectored(IPI_BITMAP_VECTOR, APIC_IPI_DEST_ALL);
if (!CPU_EMPTY(&cpu_suspend_map)) {
/*
* Now that event channels have been initialized,
* resume CPUs.
*/
resume_cpus(cpu_suspend_map);
+ /* Send an IPI_BITMAP in case there are pending bitmap IPIs. */
+ lapic_ipi_vectored(IPI_BITMAP_VECTOR, APIC_IPI_DEST_ALL);
}
#endif