summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc/include
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/powerpc/include
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/powerpc/include')
-rw-r--r--sys/arch/powerpc/include/intr.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/powerpc/include/intr.h b/sys/arch/powerpc/include/intr.h
index 937c3f5f26e..6cbf762efba 100644
--- a/sys/arch/powerpc/include/intr.h
+++ b/sys/arch/powerpc/include/intr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: intr.h,v 1.43 2009/10/01 20:19:19 kettenis Exp $ */
+/* $OpenBSD: intr.h,v 1.44 2010/04/23 03:50:22 miod Exp $ */
/*
* Copyright (c) 1997 Per Fogelstrom, Opsycon AB and RTMX Inc, USA.
@@ -42,6 +42,7 @@
#define IPL_TTY 3
#define IPL_VM 4
#define IPL_CLOCK 5
+#define IPL_SCHED 6
#define IPL_HIGH 6
#define IPL_NUM 7