svn commit: r193144 - head/sys/powerpc/mpc85xx

Marcel Moolenaar marcel at FreeBSD.org
Sun May 31 01:56:07 UTC 2009


Author: marcel
Date: Sun May 31 01:56:06 2009
New Revision: 193144
URL: http://svn.freebsd.org/changeset/base/193144

Log:
  Mark the cascaded AT interrupt handler as MP safe to avoid having
  it grab Giant. The next step would be to make it a filter.

Modified:
  head/sys/powerpc/mpc85xx/atpic.c

Modified: head/sys/powerpc/mpc85xx/atpic.c
==============================================================================
--- head/sys/powerpc/mpc85xx/atpic.c	Sun May 31 01:27:27 2009	(r193143)
+++ head/sys/powerpc/mpc85xx/atpic.c	Sun May 31 01:56:06 2009	(r193144)
@@ -211,7 +211,7 @@ atpic_isa_attach(device_t dev)
 	if (sc->sc_ires == NULL)
 		goto fail;
 
-	error = bus_setup_intr(dev, sc->sc_ires, INTR_TYPE_MISC | INTR_FAST,
+	error = bus_setup_intr(dev, sc->sc_ires, INTR_TYPE_MISC | INTR_MPSAFE,
 	    NULL, atpic_intr, NULL, &sc->sc_icookie);
 	if (error)
 		goto fail;


More information about the svn-src-all mailing list