summaryrefslogtreecommitdiff
path: root/sys/arch/amiga
diff options
context:
space:
mode:
authorHakan Olsson <ho@cvs.openbsd.org>2000-07-06 15:29:54 +0000
committerHakan Olsson <ho@cvs.openbsd.org>2000-07-06 15:29:54 +0000
commita4f2ca34d89d45ca31929f2a81a935f3f2627a87 (patch)
tree1da1b8d87ab24a38cef6307e8278eea5c637be22 /sys/arch/amiga
parent9f7d0b7df9481c0acebc8cc0f27af6dd737c6243 (diff)
Change splsoftclock() to raise the spl, instead of lowering it.
Add spllowersoftclock() for the former behaviour. Update comment. (art@ ok)
Diffstat (limited to 'sys/arch/amiga')
-rw-r--r--sys/arch/amiga/include/psl.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/sys/arch/amiga/include/psl.h b/sys/arch/amiga/include/psl.h
index a966e90f50d..63c4bcf27d9 100644
--- a/sys/arch/amiga/include/psl.h
+++ b/sys/arch/amiga/include/psl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: psl.h,v 1.10 1999/05/10 16:24:55 espie Exp $ */
+/* $OpenBSD: psl.h,v 1.11 2000/07/06 15:29:52 ho Exp $ */
/* $NetBSD: psl.h,v 1.11 1996/11/30 00:33:49 is Exp $ */
#ifndef _MACHINE_PSL_H_
@@ -132,12 +132,13 @@ extern u_int16_t amiga_ttyspl;
/*
* Software interrupt masks
*
- * NOTE: splsoftclock() is used by hardclock() to lower the priority from
+ * NOTE: spllowersoftclock() is used by hardclock() to lower the priority from
* clock to softclock before it calls softclock().
*/
-#define splsoftclock() spllower(PSL_S|PSL_IPL1)
-#define splsoftnet() spl1()
-#define splsofttty() spl1()
+#define spllowersoftclock() spllower(PSL_S|PSL_IPL1)
+#define splsoftclock() spl1()
+#define splsoftnet() spl1()
+#define splsofttty() spl1()
/*
* Miscellaneous