From 7961a771484631dad1ce8810c72b9db6f3a9c080 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Wed, 21 Mar 2018 14:47:17 +0000 Subject: [PATCH] Mark psycho interrupts as MPSAFE. It's safe to do so now that we don't need Giant to call shutdown_nice(). --- sys/sparc64/pci/psycho.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/sparc64/pci/psycho.c b/sys/sparc64/pci/psycho.c index a7ad9d3b96e7..f7f4c40e389c 100644 --- a/sys/sparc64/pci/psycho.c +++ b/sys/sparc64/pci/psycho.c @@ -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); }