svn commit: r331299 - head/sys/sparc64/pci

Warner Losh imp at FreeBSD.org
Wed Mar 21 14:47:18 UTC 2018


Author: imp
Date: Wed Mar 21 14:47:17 2018
New Revision: 331299
URL: https://svnweb.freebsd.org/changeset/base/331299

Log:
  Mark psycho interrupts as MPSAFE. It's safe to do so now that we don't
  need Giant to call shutdown_nice().

Modified:
  head/sys/sparc64/pci/psycho.c

Modified: head/sys/sparc64/pci/psycho.c
==============================================================================
--- head/sys/sparc64/pci/psycho.c	Wed Mar 21 14:47:12 2018	(r331298)
+++ head/sys/sparc64/pci/psycho.c	Wed Mar 21 14:47:17 2018	(r331299)
@@ -664,7 +664,7 @@ psycho_set_intr(struct psycho_softc *sc, u_int index, 
 	    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);
 }


More information about the svn-src-all mailing list