summaryrefslogtreecommitdiffstats
path: root/sys/contrib
diff options
context:
space:
mode:
authorgonzo <gonzo@FreeBSD.org>2015-11-08 03:54:15 +0000
committergonzo <gonzo@FreeBSD.org>2015-11-08 03:54:15 +0000
commitf2e54745781a295d97b9d001ea6e602ab7173838 (patch)
treef68f0025168989ebd133b81f296c7e2626d219da /sys/contrib
parentc217a91774941f152866c81cb7e1bf0b7e4f4214 (diff)
downloadFreeBSD-src-f2e54745781a295d97b9d001ea6e602ab7173838.zip
FreeBSD-src-f2e54745781a295d97b9d001ea6e602ab7173838.tar.gz
vchiq interrupt is MP safe, add respective flag to bus_setup_intr
Diffstat (limited to 'sys/contrib')
-rw-r--r--sys/contrib/vchiq/interface/vchiq_arm/vchiq_kmod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/contrib/vchiq/interface/vchiq_arm/vchiq_kmod.c b/sys/contrib/vchiq/interface/vchiq_arm/vchiq_kmod.c
index 04fc399..e0cbb66 100644
--- a/sys/contrib/vchiq/interface/vchiq_arm/vchiq_kmod.c
+++ b/sys/contrib/vchiq/interface/vchiq_arm/vchiq_kmod.c
@@ -164,7 +164,7 @@ bcm_vchiq_attach(device_t dev)
vchiq_core_initialize();
/* Setup and enable the timer */
- if (bus_setup_intr(dev, sc->irq_res, INTR_TYPE_MISC,
+ if (bus_setup_intr(dev, sc->irq_res, INTR_TYPE_MISC | INTR_MPSAFE,
NULL, bcm_vchiq_intr, sc,
&sc->intr_hl) != 0) {
bus_release_resource(dev, SYS_RES_IRQ, rid,
OpenPOWER on IntegriCloud