From 70b43498012fa8f02468f62baf89711bcabcccb5 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Wed, 6 Apr 2011 18:28:39 +0000 Subject: Declare and initialize safepri, for the kernel to link. --- sys/arch/gumstix/gumstix/gumstix_machdep.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3