summaryrefslogtreecommitdiffstats
path: root/sys/vm
diff options
context:
space:
mode:
authorfsmp <fsmp@FreeBSD.org>1997-08-18 03:29:21 +0000
committerfsmp <fsmp@FreeBSD.org>1997-08-18 03:29:21 +0000
commit24a2d0d38a12f26a12614b9b34595f50caae4c56 (patch)
tree086260d543b006e4719b07a2e6ca46538dc4a82c /sys/vm
parent8eb2262ed1323f9cf5467f11ae66cd725f90e203 (diff)
downloadFreeBSD-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/vm')
-rw-r--r--sys/vm/vm_map.c6
-rw-r--r--sys/vm/vm_zone.c6
2 files changed, 10 insertions, 2 deletions
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