Mark psycho interrupts as MPSAFE. It's safe to do so now that we don't

need Giant to call shutdown_nice().
This commit is contained in:
Warner Losh 2018-03-21 14:47:17 +00:00
parent 026fb270ca
commit 7961a77148
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=331299

View File

@ -664,7 +664,7 @@ psycho_set_intr(struct psycho_softc *sc, u_int index, bus_addr_t intrmap,
INTVEC(PSYCHO_READ8(sc, intrmap)) != vec ||
intr_vectors[vec].iv_ic != &psycho_ic ||
bus_setup_intr(sc->sc_dev, sc->sc_irq_res[index],
INTR_TYPE_MISC | INTR_BRIDGE, filt, intr, sc,
INTR_TYPE_MISC | INTR_BRIDGE | INTR_MPSAFE, filt, intr, sc,
&sc->sc_ihand[index]) != 0)
panic("%s: failed to set up interrupt %d", __func__, index);
}