diff options
author | fsmp <fsmp@FreeBSD.org> | 1997-08-18 03:29:21 +0000 |
---|---|---|
committer | fsmp <fsmp@FreeBSD.org> | 1997-08-18 03:29:21 +0000 |
commit | 24a2d0d38a12f26a12614b9b34595f50caae4c56 (patch) | |
tree | 086260d543b006e4719b07a2e6ca46538dc4a82c /sys/kern/kern_lock.c | |
parent | 8eb2262ed1323f9cf5467f11ae66cd725f90e203 (diff) | |
download | FreeBSD-src-24a2d0d38a12f26a12614b9b34595f50caae4c56.zip FreeBSD-src-24a2d0d38a12f26a12614b9b34595f50caae4c56.tar.gz |
Added includes of smp.h for SMP.
This eliminates a bazillion warnings about implicit s_lock & friends.
Diffstat (limited to 'sys/kern/kern_lock.c')
-rw-r--r-- | sys/kern/kern_lock.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/kern/kern_lock.c b/sys/kern/kern_lock.c index 32c30c5..44b42f6 100644 --- a/sys/kern/kern_lock.c +++ b/sys/kern/kern_lock.c @@ -38,7 +38,7 @@ * SUCH DAMAGE. * * @(#)kern_lock.c 8.18 (Berkeley) 5/21/95 - * $Id: kern_lock.c,v 1.7 1997/08/04 19:11:12 fsmp Exp $ + * $Id: kern_lock.c,v 1.8 1997/08/18 02:06:35 dyson Exp $ */ #include <sys/param.h> @@ -46,6 +46,10 @@ #include <sys/lock.h> #include <sys/systm.h> +#ifdef SMP +#include <machine/smp.h> +#endif + /* * Locking primitives implementation. * Locks provide shared/exclusive sychronization. |