summaryrefslogtreecommitdiff
path: root/sys/arch/i386
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/i386
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/i386')
-rw-r--r--sys/arch/i386/include/intr.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/arch/i386/include/intr.h b/sys/arch/i386/include/intr.h
index 9c8cadb7166..2a508e5ab7a 100644
--- a/sys/arch/i386/include/intr.h
+++ b/sys/arch/i386/include/intr.h
@@ -128,12 +128,13 @@ spllower(ncpl)
/*
* 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(SIR_CLOCKMASK)
-#define splsoftnet() splraise(SIR_NETMASK)
-#define splsofttty() splraise(SIR_TTYMASK)
+#define spllowersoftclock() spllower(SIR_CLOCKMASK)
+#define splsoftclock() splraise(SIR_CLOCKMASK)
+#define splsoftnet() splraise(SIR_NETMASK)
+#define splsofttty() splraise(SIR_TTYMASK)
/*
* Miscellaneous