From: gonzo Date: Sun, 8 Nov 2015 03:54:15 +0000 (+0000) Subject: vchiq interrupt is MP safe, add respective flag to bus_setup_intr X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=f2e54745781a295d97b9d001ea6e602ab7173838;p=people%2Fliuw%2Ffreebsd.git vchiq interrupt is MP safe, add respective flag to bus_setup_intr --- diff --git a/sys/contrib/vchiq/interface/vchiq_arm/vchiq_kmod.c b/sys/contrib/vchiq/interface/vchiq_arm/vchiq_kmod.c index 04fc399de86..e0cbb6622d3 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,