mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-03 12:35:02 +00:00
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
faef64cc39
commit
591dea8c59
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=193144
@ -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