aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/xen/control
diff options
context:
space:
mode:
authorElliott Mitchell <ehem+freebsd@m5p.com>2021-04-06 08:18:47 +0000
committerRoger Pau Monné <royger@FreeBSD.org>2021-07-28 15:27:02 +0000
commitd3705b5a7faca20247b17ceacc7fdf7a8c5f4839 (patch)
tree82f60e37535670eff48e4e63f30f54c186fa3c39 /sys/dev/xen/control
parentd561380eb31efcf2f79bce9be78c3d499e6efba4 (diff)
Diffstat (limited to 'sys/dev/xen/control')
-rw-r--r--sys/dev/xen/control/control.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/xen/control/control.c b/sys/dev/xen/control/control.c
index a9738eeb7c2b..57251a10e6eb 100644
--- a/sys/dev/xen/control/control.c
+++ b/sys/dev/xen/control/control.c
@@ -132,7 +132,9 @@ __FBSDID("$FreeBSD$");
#include <machine/_inttypes.h>
#include <machine/intr_machdep.h>
+#if defined(__amd64__) || defined(__i386__)
#include <x86/apicvar.h>
+#endif
#include <vm/vm.h>
#include <vm/vm_extern.h>
@@ -289,8 +291,10 @@ xctrl_suspend()
* resume CPUs.
*/
resume_cpus(cpu_suspend_map);
+#if defined(__amd64__) || defined(__i386__)
/* Send an IPI_BITMAP in case there are pending bitmap IPIs. */
lapic_ipi_vectored(IPI_BITMAP_VECTOR, APIC_IPI_DEST_ALL);
+#endif
}
#endif