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/powerpc | |
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/powerpc')
-rw-r--r-- | sys/arch/powerpc/include/intr.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/powerpc/include/intr.h b/sys/arch/powerpc/include/intr.h index 5cc731aa217..f2387c0a9fe 100644 --- a/sys/arch/powerpc/include/intr.h +++ b/sys/arch/powerpc/include/intr.h @@ -1,4 +1,4 @@ -/* $OpenBSD: intr.h,v 1.5 2000/03/31 04:16:34 rahnds Exp $ */ +/* $OpenBSD: intr.h,v 1.6 2000/07/06 15:29:53 ho Exp $ */ /* * Copyright (c) 1997 Per Fogelstrom, Opsycon AB and RTMX Inc, USA. @@ -137,7 +137,8 @@ set_sint(pending) #define splclock() splraise(SPL_CLOCK|SINT_MASK) #define splimp() splraise(imask[IPL_IMP]) #define splstatclock() splhigh() -#define splsoftclock() spllower(SINT_CLOCK) +#define spllowersoftclock() spllower(SINT_CLOCK) +#define splsoftclock() splraise(SINT_CLOCK) #define splsoftnet() splraise(SINT_NET) #define splsofttty() splraise(SINT_TTY) |