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:
parent
e6a06610ff
commit
a42ef97c19
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user