summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_lock.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/kern_lock.c')
-rw-r--r--sys/kern/kern_lock.c6
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.
OpenPOWER on IntegriCloud