diff options
author | Martin Reindl <martin@cvs.openbsd.org> | 2007-05-15 13:46:23 +0000 |
---|---|---|
committer | Martin Reindl <martin@cvs.openbsd.org> | 2007-05-15 13:46:23 +0000 |
commit | 7d95296f228e0b8befa23f15833ca056cfeeec16 (patch) | |
tree | 49ef36eadd161e34934d3d07506c88486a20d736 /sys/arch/hp300/include | |
parent | 91ab665a68b179b0f98b8b1f7f700357ff7a711b (diff) |
switch m68k to __HAVE_CPUINFO
help miod@, art@
ok deraadt@
Diffstat (limited to 'sys/arch/hp300/include')
-rw-r--r-- | sys/arch/hp300/include/intr.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/hp300/include/intr.h b/sys/arch/hp300/include/intr.h index e2259669c5c..e6fc7fcbaa5 100644 --- a/sys/arch/hp300/include/intr.h +++ b/sys/arch/hp300/include/intr.h @@ -1,4 +1,4 @@ -/* $OpenBSD: intr.h,v 1.18 2006/06/11 20:46:48 miod Exp $ */ +/* $OpenBSD: intr.h,v 1.19 2007/05/15 13:46:22 martin Exp $ */ /* $NetBSD: intr.h,v 1.2 1997/07/24 05:43:08 scottr Exp $ */ /*- @@ -93,6 +93,7 @@ extern unsigned short hp300_vmipl; #define splstatclock() _splraise(PSL_S | PSL_IPL6) #define splvm() _splraise(hp300_vmipl) #define splhigh() _spl(PSL_S | PSL_IPL7) +#define splsched() splhigh() /* watch out for side effects */ #define splx(s) ((s) & PSL_IPL ? _spl((s)) : spl0()) |