diff options
author | Per Fogelstrom <pefo@cvs.openbsd.org> | 1998-08-25 06:53:20 +0000 |
---|---|---|
committer | Per Fogelstrom <pefo@cvs.openbsd.org> | 1998-08-25 06:53:20 +0000 |
commit | 3236b3ea5a4b47524084091ca137222d634aab9c (patch) | |
tree | f3ba323bfd774a3e9fb336b79883f9830b1c5ae9 /sys/arch/powerpc | |
parent | cab491c82bd868fec1c52f13f9336a0d6b24d0e9 (diff) |
Fix a couple of spl errors - spotted by Dale and me.
Diffstat (limited to 'sys/arch/powerpc')
-rw-r--r-- | sys/arch/powerpc/include/intr.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/powerpc/include/intr.h b/sys/arch/powerpc/include/intr.h index 1ebaa73c96f..589c6f93448 100644 --- a/sys/arch/powerpc/include/intr.h +++ b/sys/arch/powerpc/include/intr.h @@ -1,4 +1,4 @@ -/* $OpenBSD: intr.h,v 1.1 1997/10/13 10:53:45 pefo Exp $ */ +/* $OpenBSD: intr.h,v 1.2 1998/08/25 06:53:19 pefo Exp $ */ /* * Copyright (c) 1997 Per Fogelstrom, Opsycon AB and RTMX Inc, USA. @@ -130,7 +130,7 @@ set_sint(pending) #define splbio() splraise(imask[IPL_BIO]) #define splnet() splraise(imask[IPL_NET]) #define spltty() splraise(imask[IPL_TTY]) -#define splclock() splraise(SPL_CLOCK|SINT_CLOCK|SINT_NET) +#define splclock() splraise(SPL_CLOCK|SINT_MASK) #define splimp() splraise(imask[IPL_IMP]) #define splstatclock() splhigh() #define splsoftclock() spllower(SINT_CLOCK) @@ -138,8 +138,8 @@ set_sint(pending) #define splsofttty() splraise(SINT_TTY) #define setsoftclock() set_sint(SINT_CLOCK); -#define setsoftnet() set_sint(SINT_NET); -#define setsofttty() set_sint(SINT_TTY); +#define setsoftnet() set_sint(SINT_NET|SINT_CLOCK); +#define setsofttty() set_sint(SINT_TTY|SINT_CLOCK); #define splhigh() splraise(0xffffffff) #define spl0() spllower(0) |