summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2010-04-23 03:50:23 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2010-04-23 03:50:23 +0000
commit5e0ee3d236585b8d1a8a5cc9b6f75428cc37bdff (patch)
tree85c617df54c21c9df1eec49b6e2d85bb06adce32 /sys/arch/mac68k
parentfddeb59e503ffbfbaac591d18ef04618a5e19903 (diff)
Make sure IPL_SCHED is always defined by MD headers, instead of having a MI
fallback definition in <sys/sched.h>, so that there is no hidden include ordering requirement between <machine/intr.h> and <sys/sched.h>. ok deraadt@ tedu@
Diffstat (limited to 'sys/arch/mac68k')
-rw-r--r--sys/arch/mac68k/include/intr.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/mac68k/include/intr.h b/sys/arch/mac68k/include/intr.h
index 7441ec32c99..5acce0eb251 100644
--- a/sys/arch/mac68k/include/intr.h
+++ b/sys/arch/mac68k/include/intr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: intr.h,v 1.20 2009/09/18 19:32:41 miod Exp $ */
+/* $OpenBSD: intr.h,v 1.21 2010/04/23 03:50:22 miod Exp $ */
/* $NetBSD: intr.h,v 1.9 1998/08/12 06:58:42 scottr Exp $ */
/*
@@ -63,6 +63,7 @@ extern u_short mac68k_statclockipl;
#define IPL_VM PSLTOIPL(mac68k_vmipl)
#define IPL_CLOCK PSLTOIPL(mac68k_clockipl)
#define IPL_STATCLOCK PSLTOIPL(mac68k_statclockipl)
+#define IPL_SCHED 7
#define IPL_HIGH 7
#define MD_IPLTOPSL(ipl) IPLTOPSL(ipl)