summaryrefslogtreecommitdiff
path: root/sys/arch/vax
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/vax
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/vax')
-rw-r--r--sys/arch/vax/include/intr.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/vax/include/intr.h b/sys/arch/vax/include/intr.h
index a567d59f773..4a6e3c5ee42 100644
--- a/sys/arch/vax/include/intr.h
+++ b/sys/arch/vax/include/intr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: intr.h,v 1.11 2009/03/20 18:39:30 miod Exp $ */
+/* $OpenBSD: intr.h,v 1.12 2010/04/23 03:50:22 miod Exp $ */
/* $NetBSD: intr.h,v 1.1 1998/08/18 23:55:00 matt Exp $ */
/*
@@ -49,6 +49,7 @@
#define IPL_AUDIO 0x15 /* audio */
#define IPL_CLOCK 0x18 /* clock */
#define IPL_STATCLOCK 0x18 /* statclock */
+#define IPL_SCHED 0x1f
#define IPL_HIGH 0x1f
#define IST_UNUSABLE -1 /* interrupt cannot be used */