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/kern | |
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/kern')
-rw-r--r-- | sys/kern/kern_synch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_synch.c b/sys/kern/kern_synch.c index 7e7a19f96cf..6a9b1f57b03 100644 --- a/sys/kern/kern_synch.c +++ b/sys/kern/kern_synch.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_synch.c,v 1.93 2009/12/27 04:59:43 guenther Exp $ */ +/* $OpenBSD: kern_synch.c,v 1.94 2010/06/10 17:54:12 deraadt Exp $ */ /* $NetBSD: kern_synch.c,v 1.37 1996/04/22 01:38:37 christos Exp $ */ /* @@ -88,7 +88,7 @@ sleep_queue_init(void) * that is safe for use on the interrupt stack; it can be made * higher to block network software interrupts after panics. */ -int safepri; +extern int safepri; /* * General sleep call. Suspends the current process until a wakeup is |