summaryrefslogtreecommitdiff
path: root/sys/arch/sgi
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/sgi
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/sgi')
-rw-r--r--sys/arch/sgi/sgi/machdep.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/sgi/sgi/machdep.c b/sys/arch/sgi/sgi/machdep.c
index 79c551fed95..5510a7b6d3c 100644
--- a/sys/arch/sgi/sgi/machdep.c
+++ b/sys/arch/sgi/sgi/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.102 2010/04/28 21:26:47 miod Exp $ */
+/* $OpenBSD: machdep.c,v 1.103 2010/06/10 17:54:13 deraadt Exp $ */
/*
* Copyright (c) 2003-2004 Opsycon AB (www.opsycon.se / www.opsycon.com)
@@ -98,6 +98,12 @@ int bufcachepercent = BUFCACHEPERCENT;
vm_map_t exec_map;
vm_map_t phys_map;
+/*
+ * safepri is a safe priority for sleep to set for a spin-wait
+ * during autoconfiguration or after a panic.
+ */
+int safepri = 0;
+
caddr_t msgbufbase;
vaddr_t uncached_base;