diff options
author | marcel <marcel@FreeBSD.org> | 2004-05-04 05:54:02 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2004-05-04 05:54:02 +0000 |
commit | 85b1b3e40510ea866b17c335ac33480d3a6c3aa7 (patch) | |
tree | 46f419a64a3e61ff993d5bdbf2dbf89a8b22e95c /sys/dev | |
parent | 7e5c8753a4a3c71eda2c2935a64274dc27ed7c45 (diff) | |
download | FreeBSD-src-85b1b3e40510ea866b17c335ac33480d3a6c3aa7.zip FreeBSD-src-85b1b3e40510ea866b17c335ac33480d3a6c3aa7.tar.gz |
When the interrupt cannot be INTR_FAST, it still is INTR_MPSAFE.
Mark it as such.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/uart/uart_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/uart/uart_core.c b/sys/dev/uart/uart_core.c index 6b33b6f..36b59be 100644 --- a/sys/dev/uart/uart_core.c +++ b/sys/dev/uart/uart_core.c @@ -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; |