summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k/include/intr.h
diff options
context:
space:
mode:
authorHakan Olsson <ho@cvs.openbsd.org>2000-07-06 15:25:05 +0000
committerHakan Olsson <ho@cvs.openbsd.org>2000-07-06 15:25:05 +0000
commit9f7d0b7df9481c0acebc8cc0f27af6dd737c6243 (patch)
tree4b70373e3747048c7e62e323db95b786476e20e7 /sys/arch/mac68k/include/intr.h
parent84659e9a63be386af0d7e58612a02a4fe18e2b59 (diff)
Add spllowersoftclock(), same as splsoftclock(). (art@ ok)
Diffstat (limited to 'sys/arch/mac68k/include/intr.h')
-rw-r--r--sys/arch/mac68k/include/intr.h25
1 files changed, 13 insertions, 12 deletions
diff --git a/sys/arch/mac68k/include/intr.h b/sys/arch/mac68k/include/intr.h
index 54ba90fc471..c5e6b7d3a92 100644
--- a/sys/arch/mac68k/include/intr.h
+++ b/sys/arch/mac68k/include/intr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: intr.h,v 1.2 1999/06/11 04:48:11 downsj Exp $ */
+/* $OpenBSD: intr.h,v 1.3 2000/07/06 15:25:03 ho Exp $ */
/* $NetBSD: intr.h,v 1.8 1997/11/07 07:33:18 scottr Exp $ */
/*
@@ -101,17 +101,18 @@ extern unsigned short mac68k_schedipl;
* everything at spl2, and everything but the panic switch and
* power at spl4.
*/
-#define splsoftclock() splsoft()
-#define splsoftnet() splsoft()
-#define spltty() _splraise(mac68k_ttyipl)
-#define splbio() _splraise(mac68k_bioipl)
-#define splnet() _splraise(mac68k_netipl)
-#define splimp() _splraise(mac68k_impipl)
-#define splclock() _splraise(mac68k_clockipl)
-#define splstatclock() _splraise(mac68k_statclockipl)
-#define splsched() _splsched(mac68k_schedipl)
-#define splserial() spl4()
-#define splhigh() spl7()
+#define spllowersoftclock() splsoft()
+#define splsoftclock() splsoft()
+#define splsoftnet() splsoft()
+#define spltty() _splraise(mac68k_ttyipl)
+#define splbio() _splraise(mac68k_bioipl)
+#define splnet() _splraise(mac68k_netipl)
+#define splimp() _splraise(mac68k_impipl)
+#define splclock() _splraise(mac68k_clockipl)
+#define splstatclock() _splraise(mac68k_statclockipl)
+#define splsched() _splsched(mac68k_schedipl)
+#define splserial() spl4()
+#define splhigh() spl7()
/* watch out for side effects */
#define splx(s) ((s) & PSL_IPL ? _spl(s) : spl0())