summaryrefslogtreecommitdiff
path: root/sys/arch/macppc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-06-10 17:54:14 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-06-10 17:54:14 +0000
commit6b09f25b8e40028bddd549d1fb46eeb16f880327 (patch)
treef75aec6f610d5caf1909c84b36d0102c879bdbab /sys/arch/macppc
parent46b04df6d6d47c2e2dc6a96e40e8382808733874 (diff)
Declare safepri at the MD level on each platform, so that the kern_synch.c
does not have to deal with it as a common. Some platforms may be missed by this commit... if you spot one, fix it the same way. ok miod
Diffstat (limited to 'sys/arch/macppc')
-rw-r--r--sys/arch/macppc/macppc/machdep.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/macppc/macppc/machdep.c b/sys/arch/macppc/macppc/machdep.c
index 6e2b5b2dd2b..ec714434d25 100644
--- a/sys/arch/macppc/macppc/machdep.c
+++ b/sys/arch/macppc/macppc/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.116 2009/12/10 16:45:59 deraadt Exp $ */
+/* $OpenBSD: machdep.c,v 1.117 2010/06/10 17:54:13 deraadt Exp $ */
/* $NetBSD: machdep.c,v 1.4 1996/10/16 19:33:11 ws Exp $ */
/*
@@ -469,6 +469,12 @@ install_extint(void (*handler)(void))
}
/*
+ * safepri is a safe priority for sleep to set for a spin-wait
+ * during autoconfiguration or after a panic.
+ */
+int safepri = 0;
+
+/*
* Machine dependent startup code.
*/
void