summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/kern/kern_lock.c6
-rw-r--r--sys/sys/vnode.h6
-rw-r--r--sys/vm/vm_map.c6
-rw-r--r--sys/vm/vm_zone.c6
4 files changed, 20 insertions, 4 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.
diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h
index e308f8f..4d1b362 100644
--- a/sys/sys/vnode.h
+++ b/sys/sys/vnode.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)vnode.h 8.7 (Berkeley) 2/4/94
- * $Id: vnode.h,v 1.43 1997/04/04 17:43:32 dfr Exp $
+ * $Id: vnode.h,v 1.44 1997/05/04 09:17:38 phk Exp $
*/
#ifndef _SYS_VNODE_H_
@@ -40,6 +40,10 @@
#include <sys/lock.h>
#include <sys/queue.h>
+#ifdef SMP
+#include <machine/smp.h>
+#endif
+
/*
* The vnode is the focus of all file activity in UNIX. There is a
* unique vnode allocated for each active file, each current directory,
diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c
index 640c2aa..ce30a1b 100644
--- a/sys/vm/vm_map.c
+++ b/sys/vm/vm_map.c
@@ -61,7 +61,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: vm_map.c,v 1.85 1997/08/06 04:58:03 dyson Exp $
+ * $Id: vm_map.c,v 1.86 1997/08/18 02:06:22 dyson Exp $
*/
/*
@@ -76,6 +76,10 @@
#include <sys/vmmeter.h>
#include <sys/mman.h>
+#ifdef SMP
+#include <machine/smp.h>
+#endif
+
#include <vm/vm.h>
#include <vm/vm_param.h>
#include <vm/vm_prot.h>
diff --git a/sys/vm/vm_zone.c b/sys/vm/vm_zone.c
index cc71421..062849a 100644
--- a/sys/vm/vm_zone.c
+++ b/sys/vm/vm_zone.c
@@ -18,7 +18,7 @@
* 5. Modifications may be freely made to this file if the above conditions
* are met.
*
- * $Id: vm_zone.c,v 1.3 1997/08/06 04:58:04 dyson Exp $
+ * $Id: vm_zone.c,v 1.4 1997/08/07 03:52:54 dyson Exp $
*/
#include <sys/param.h>
@@ -32,6 +32,10 @@
#include <sys/lock.h>
#include <sys/sysctl.h>
+#ifdef SMP
+#include <machine/smp.h>
+#endif
+
#include <vm/vm.h>
#include <vm/vm_object.h>
#include <vm/vm_prot.h>
OpenPOWER on IntegriCloud