diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2008-04-28 20:55:11 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2008-04-28 20:55:11 +0000 |
commit | 4fba9c271be9e7117d2bf67d08f93b317c2be82c (patch) | |
tree | f4f1ebe9975aab11adc1df07ab97e2c30327747f /sys/arch/sparc64 | |
parent | c617c51eb72d49626182c34850d356c5c399f65d (diff) |
Convert IPL_TTY into IPL_SOFTTTY when establishing soft interruptsi, like we
do on other platforms.
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r-- | sys/arch/sparc64/sparc64/intr.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/sparc64/sparc64/intr.c b/sys/arch/sparc64/sparc64/intr.c index 2e8c00be3f6..99378d55ef5 100644 --- a/sys/arch/sparc64/sparc64/intr.c +++ b/sys/arch/sparc64/sparc64/intr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: intr.c,v 1.31 2008/03/12 20:52:36 kettenis Exp $ */ +/* $OpenBSD: intr.c,v 1.32 2008/04/28 20:55:10 kettenis Exp $ */ /* $NetBSD: intr.c,v 1.39 2001/07/19 23:38:11 eeh Exp $ */ /* @@ -317,6 +317,9 @@ softintr_establish(level, fun, arg) { struct intrhand *ih; + if (level == IPL_TTY) + level = IPL_SOFTTTY; + ih = malloc(sizeof(*ih), M_DEVBUF, M_ZERO); ih->ih_fun = (int (*)(void *))fun; /* XXX */ ih->ih_arg = arg; |