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/hppa | |
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/hppa')
-rw-r--r-- | sys/arch/hppa/hppa/machdep.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/hppa/hppa/machdep.c b/sys/arch/hppa/hppa/machdep.c index e43addea378..1553d32f735 100644 --- a/sys/arch/hppa/hppa/machdep.c +++ b/sys/arch/hppa/hppa/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.186 2010/06/09 15:44:17 miod Exp $ */ +/* $OpenBSD: machdep.c,v 1.187 2010/06/10 17:54:13 deraadt Exp $ */ /* * Copyright (c) 1999-2003 Michael Shalayeff @@ -178,6 +178,12 @@ void cpuid(void); void blink_led_timeout(void *); /* + * safepri is a safe priority for sleep to set for a spin-wait + * during autoconfiguration or after a panic. + */ +int safepri = 0; + +/* * wide used hardware params */ struct pdc_hwtlb pdc_hwtlb PDC_ALIGNMENT; |