When the interrupt cannot be INTR_FAST, it still is INTR_MPSAFE.

Mark it as such.
This commit is contained in:
Marcel Moolenaar 2004-05-04 05:54:02 +00:00
parent 01a157ea66
commit 5918c72d28
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=128909

View File

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