diff options
author | Hakan Olsson <ho@cvs.openbsd.org> | 2000-07-06 15:29:54 +0000 |
---|---|---|
committer | Hakan Olsson <ho@cvs.openbsd.org> | 2000-07-06 15:29:54 +0000 |
commit | a4f2ca34d89d45ca31929f2a81a935f3f2627a87 (patch) | |
tree | 1da1b8d87ab24a38cef6307e8278eea5c637be22 /sys/arch/i386 | |
parent | 9f7d0b7df9481c0acebc8cc0f27af6dd737c6243 (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.h | 9 |
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 |