summaryrefslogtreecommitdiff
path: root/sys/arch/armish
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/armish
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/armish')
-rw-r--r--sys/arch/armish/include/intr.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/armish/include/intr.h b/sys/arch/armish/include/intr.h
index 70b7aa7b182..21ea4659704 100644
--- a/sys/arch/armish/include/intr.h
+++ b/sys/arch/armish/include/intr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: intr.h,v 1.5 2009/04/08 21:19:31 kettenis Exp $ */
+/* $OpenBSD: intr.h,v 1.6 2010/04/23 03:50:22 miod Exp $ */
/* $NetBSD: intr.h,v 1.12 2003/06/16 20:00:59 thorpej Exp $ */
/*
@@ -55,6 +55,7 @@
#define IPL_AUDIO 9 /* audio device */
#define IPL_CLOCK 10 /* clock interrupt */
#define IPL_STATCLOCK 11 /* statistics clock interrupt */
+#define IPL_SCHED 12 /* everything */
#define IPL_HIGH 12 /* everything */
#define NIPL 13