summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2011-04-06 18:28:38 +0000
committermiod <miod@openbsd.org>2011-04-06 18:28:38 +0000
commit83dda42037c5a97de7234d1c70f69fb0aaa6c996 (patch)
treef8dfdc1f75a9493226b5efb0ba813611ea0c8612
parentCorrectly protect the arguments of the AIC_ASSERT() macro. (diff)
downloadwireguard-openbsd-83dda42037c5a97de7234d1c70f69fb0aaa6c996.tar.xz
wireguard-openbsd-83dda42037c5a97de7234d1c70f69fb0aaa6c996.zip
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