summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2015-03-06 05:49:21 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2015-03-06 05:49:21 +0000
commiteb89d8a5f6e6cc18b580ed6be8f9279c9da98153 (patch)
treea25db9504a6ec16ac7e0af0fe98a1b5fcbff11f9 /sys
parent929b0a7e1cc2351ba8ce65dff8e109b738738f69 (diff)
Unbreak IPL_TTY == IPL_SOFTTTY case. ok deraadt@
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/m88k/m88k/softintr.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/m88k/m88k/softintr.c b/sys/arch/m88k/m88k/softintr.c
index aec859a55d7..2269b006e2f 100644
--- a/sys/arch/m88k/m88k/softintr.c
+++ b/sys/arch/m88k/m88k/softintr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: softintr.c,v 1.6 2015/03/03 23:50:37 aoyama Exp $ */
+/* $OpenBSD: softintr.c,v 1.7 2015/03/06 05:49:20 miod Exp $ */
/* $NetBSD: softintr.c,v 1.2 2003/07/15 00:24:39 lukem Exp $ */
/*
@@ -113,7 +113,9 @@ softintr_establish(int ipl, void (*func)(void *), void *arg)
case IPL_SOFTNET:
si = SI_SOFTNET;
break;
+#if IPL_TTY != IPL_SOFTTTY
case IPL_TTY:
+#endif
case IPL_SOFTTTY:
si = SI_SOFTTTY;
break;