vchiq interrupt is MP safe, add respective flag to bus_setup_intr

This commit is contained in:
Oleksandr Tymoshenko 2015-11-08 03:54:15 +00:00
parent e88b3f2e48
commit 038cbcf51c

View File

@ -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,