When the interrupt cannot be INTR_FAST, it still is INTR_MPSAFE.
Mark it as such.
This commit is contained in:
parent
01a157ea66
commit
5918c72d28
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=128909
@ -337,8 +337,8 @@ uart_bus_attach(device_t dev)
|
||||
sc, &sc->sc_icookie);
|
||||
if (error)
|
||||
error = BUS_SETUP_INTR(device_get_parent(dev), dev,
|
||||
sc->sc_ires, INTR_TYPE_TTY, uart_intr, sc,
|
||||
&sc->sc_icookie);
|
||||
sc->sc_ires, INTR_TYPE_TTY | INTR_MPSAFE,
|
||||
uart_intr, sc, &sc->sc_icookie);
|
||||
else
|
||||
sc->sc_fastintr = 1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user