diff options
author | Owain Ainsworth <oga@cvs.openbsd.org> | 2011-07-05 17:11:08 +0000 |
---|---|---|
committer | Owain Ainsworth <oga@cvs.openbsd.org> | 2011-07-05 17:11:08 +0000 |
commit | 4dfc91bbef932df5e9fa91333245d21bb446cfec (patch) | |
tree | 002654ca18164f7d5f25eea672173e94a4878949 /sys/arch/i386/include/intr.h | |
parent | 81a7cc32287764010bc77b512fb037b27a8ae362 (diff) |
N: Thou shalt not call hardclock() with biglock held.
i386 disobeys the Nth commandment. Fix this. While here, make i386 and amd64
definitions of iplclock and statclock match.
ok art@, kettenis@
Diffstat (limited to 'sys/arch/i386/include/intr.h')
-rw-r--r-- | sys/arch/i386/include/intr.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/include/intr.h b/sys/arch/i386/include/intr.h index 015bea84f8c..a8278c9422f 100644 --- a/sys/arch/i386/include/intr.h +++ b/sys/arch/i386/include/intr.h @@ -1,4 +1,4 @@ -/* $OpenBSD: intr.h,v 1.42 2011/03/23 16:54:35 pirofti Exp $ */ +/* $OpenBSD: intr.h,v 1.43 2011/07/05 17:11:07 oga Exp $ */ /* $NetBSD: intr.h,v 1.5 1996/05/13 06:11:28 mycroft Exp $ */ /* @@ -107,7 +107,7 @@ void splassert_check(int, const char *); #define spltty() splraise(IPL_TTY) #define splaudio() splraise(IPL_AUDIO) #define splclock() splraise(IPL_CLOCK) -#define splstatclock() splhigh() +#define splstatclock() splclock() #define splipi() splraise(IPL_IPI) /* |