From a42ef97c19dd2dd23ea9ebe78131298cad57b0ad Mon Sep 17 00:00:00 2001 From: marcel Date: Sun, 31 May 2009 01:56:06 +0000 Subject: [PATCH] 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. --- sys/powerpc/mpc85xx/atpic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/powerpc/mpc85xx/atpic.c b/sys/powerpc/mpc85xx/atpic.c index d5ee265b5254..f8d131847764 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;