summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/include/psl.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/mvme88k/include/psl.h
parent84659e9a63be386af0d7e58612a02a4fe18e2b59 (diff)
Add spllowersoftclock(), same as splsoftclock(). (art@ ok)
Diffstat (limited to 'sys/arch/mvme88k/include/psl.h')
-rw-r--r--sys/arch/mvme88k/include/psl.h27
1 files changed, 14 insertions, 13 deletions
diff --git a/sys/arch/mvme88k/include/psl.h b/sys/arch/mvme88k/include/psl.h
index 98112abfb8f..63f7ff51dc5 100644
--- a/sys/arch/mvme88k/include/psl.h
+++ b/sys/arch/mvme88k/include/psl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: psl.h,v 1.4 1999/02/09 06:36:27 smurph Exp $ */
+/* $OpenBSD: psl.h,v 1.5 2000/07/06 15:25:04 ho Exp $ */
/*
* Copyright (c) 1996 Nivas Madhur
* All rights reserved.
@@ -82,18 +82,19 @@ above...
#define IPL_NMI 7
#define IPL_ABORT 7
-#define splnone spl0
-#define splsoftclock() setipl(IPL_SOFTCLOCK)
-#define splsoftnet() setipl(IPL_SOFTNET)
-#define splbio() setipl(IPL_BIO)
-#define splnet() setipl(IPL_NET)
-#define spltty() setipl(IPL_TTY)
-#define splclock() setipl(IPL_CLOCK)
-#define splstatclock() setipl(IPL_STATCLOCK)
-#define splimp() setipl(IPL_IMP)
-#define splvm() setipl(IPL_VM)
-#define splhigh() setipl(IPL_HIGH)
-#define splsched() setipl(IPL_SCHED)
+#define splnone spl0
+#define spllowersoftclock() setipl(IPL_SOFTCLOCK)
+#define splsoftclock() setipl(IPL_SOFTCLOCK)
+#define splsoftnet() setipl(IPL_SOFTNET)
+#define splbio() setipl(IPL_BIO)
+#define splnet() setipl(IPL_NET)
+#define spltty() setipl(IPL_TTY)
+#define splclock() setipl(IPL_CLOCK)
+#define splstatclock() setipl(IPL_STATCLOCK)
+#define splimp() setipl(IPL_IMP)
+#define splvm() setipl(IPL_VM)
+#define splhigh() setipl(IPL_HIGH)
+#define splsched() setipl(IPL_SCHED)
#define splx(x) ((x) ? setipl((x)) : spl0())