summaryrefslogtreecommitdiff
path: root/sys/arch/palm
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/palm
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/palm')
-rw-r--r--sys/arch/palm/palm/palm_machdep.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/palm/palm/palm_machdep.c b/sys/arch/palm/palm/palm_machdep.c
index cf095597f85..2fb6cc3e176 100644
--- a/sys/arch/palm/palm/palm_machdep.c
+++ b/sys/arch/palm/palm/palm_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: palm_machdep.c,v 1.2 2009/09/09 11:34:02 marex Exp $ */
+/* $OpenBSD: palm_machdep.c,v 1.3 2010/06/10 17:54:13 deraadt Exp $ */
/* $NetBSD: lubbock_machdep.c,v 1.2 2003/07/15 00:25:06 lukem Exp $ */
/*
@@ -233,6 +233,12 @@ pv_addr_t kernel_pt_table[NUM_KERNEL_PTS];
extern struct user *proc0paddr;
+/*
+ * safepri is a safe priority for sleep to set for a spin-wait
+ * during autoconfiguration or after a panic.
+ */
+int safepri = 0;
+
/* Prototypes */
#define BOOT_STRING_MAGIC 0x4f425344