diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-06-10 17:54:14 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-06-10 17:54:14 +0000 |
commit | 6b09f25b8e40028bddd549d1fb46eeb16f880327 (patch) | |
tree | f75aec6f610d5caf1909c84b36d0102c879bdbab /sys/arch/landisk | |
parent | 46b04df6d6d47c2e2dc6a96e40e8382808733874 (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/landisk')
-rw-r--r-- | sys/arch/landisk/landisk/machdep.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/landisk/landisk/machdep.c b/sys/arch/landisk/landisk/machdep.c index 142a2afe1e6..3d70760a5ce 100644 --- a/sys/arch/landisk/landisk/machdep.c +++ b/sys/arch/landisk/landisk/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.19 2010/04/21 03:03:26 deraadt Exp $ */ +/* $OpenBSD: machdep.c,v 1.20 2010/06/10 17:54:13 deraadt Exp $ */ /* $NetBSD: machdep.c,v 1.1 2006/09/01 21:26:18 uwe Exp $ */ /*- @@ -115,6 +115,12 @@ int led_blink; extern u_int32_t getramsize(void); +/* + * safepri is a safe priority for sleep to set for a spin-wait + * during autoconfiguration or after a panic. + */ +int safepri = 0; + void cpu_startup(void) { |