summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2011-04-06 18:28:39 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2011-04-06 18:28:39 +0000
commit70b43498012fa8f02468f62baf89711bcabcccb5 (patch)
tree2fc955b70768164370c276fc4d7717b09c9f0fb1
parent386e046573a90a6b706557885ef8053217cdc0b5 (diff)
Declare and initialize safepri, for the kernel to link.
-rw-r--r--sys/arch/gumstix/gumstix/gumstix_machdep.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/gumstix/gumstix/gumstix_machdep.c b/sys/arch/gumstix/gumstix/gumstix_machdep.c
index 413201cef97..52af29ca3bb 100644
--- a/sys/arch/gumstix/gumstix/gumstix_machdep.c
+++ b/sys/arch/gumstix/gumstix/gumstix_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gumstix_machdep.c,v 1.4 2010/06/27 12:41:23 miod Exp $ */
+/* $OpenBSD: gumstix_machdep.c,v 1.5 2011/04/06 18:28:38 miod Exp $ */
/* $NetBSD: lubbock_machdep.c,v 1.2 2003/07/15 00:25:06 lukem Exp $ */
/*
@@ -239,6 +239,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