summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/mpc85xx
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2009-05-31 01:56:06 +0000
committermarcel <marcel@FreeBSD.org>2009-05-31 01:56:06 +0000
commita42ef97c19dd2dd23ea9ebe78131298cad57b0ad (patch)
tree99d73f74c69cc15b8771cd5a82338775c6422f73 /sys/powerpc/mpc85xx
parente6a06610ffed1cb06d6b1cfa7d9350bde5926b4d (diff)
downloadFreeBSD-src-a42ef97c19dd2dd23ea9ebe78131298cad57b0ad.zip
FreeBSD-src-a42ef97c19dd2dd23ea9ebe78131298cad57b0ad.tar.gz
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.
Diffstat (limited to 'sys/powerpc/mpc85xx')
-rw-r--r--sys/powerpc/mpc85xx/atpic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/powerpc/mpc85xx/atpic.c b/sys/powerpc/mpc85xx/atpic.c
index d5ee265..f8d1318 100644
--- a/sys/powerpc/mpc85xx/atpic.c
+++ b/sys/powerpc/mpc85xx/atpic.c
@@ -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;
OpenPOWER on IntegriCloud