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.
This commit is contained in:
marcel 2009-05-31 01:56:06 +00:00
parent e6a06610ff
commit a42ef97c19

View File

@ -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;