Date: Wed, 21 Mar 2018 14:47:17 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r331299 - head/sys/sparc64/pci Message-ID: <201803211447.w2LElHqY092041@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803211447.w2LElHqY092041>