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/wgrisc/include | |
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/wgrisc/include')
-rw-r--r-- | sys/arch/wgrisc/include/intr.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/wgrisc/include/intr.h b/sys/arch/wgrisc/include/intr.h index 67e7ad75ff1..ed48fcbed03 100644 --- a/sys/arch/wgrisc/include/intr.h +++ b/sys/arch/wgrisc/include/intr.h @@ -127,10 +127,11 @@ 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 spllowersoftclock() spllower(SIR_CLOCKMASK) +#define splsoftclock() splraise(SIR_CLOCKMASK) #define splsoftnet() splraise(SIR_NETMASK) #define splsofttty() splraise(SIR_TTYMASK) |