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/mvme68k/include | |
parent | 91ab665a68b179b0f98b8b1f7f700357ff7a711b (diff) |
switch m68k to __HAVE_CPUINFO
help miod@, art@
ok deraadt@
Diffstat (limited to 'sys/arch/mvme68k/include')
-rw-r--r-- | sys/arch/mvme68k/include/intr.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/mvme68k/include/intr.h b/sys/arch/mvme68k/include/intr.h index 41c4a74312d..f59dcd6d086 100644 --- a/sys/arch/mvme68k/include/intr.h +++ b/sys/arch/mvme68k/include/intr.h @@ -1,4 +1,4 @@ -/* $OpenBSD: intr.h,v 1.14 2006/06/11 20:46:50 miod Exp $ */ +/* $OpenBSD: intr.h,v 1.15 2007/05/15 13:46:22 martin Exp $ */ /* * Copyright (C) 2000 Steve Murphree, Jr. * All rights reserved. @@ -80,6 +80,7 @@ u_int8_t allocate_sir(void (*proc)(void *), void *arg); #define splclock() _splraise(PSL_S | PSL_IPL5) #define splstatclock() _splraise(PSL_S | PSL_IPL5) #define splhigh() _spl(PSL_S | PSL_IPL7) +#define splsched() splhigh() /* watch out for side effects */ #define splx(s) ((s) & PSL_IPL ? _spl(s) : spl0()) |