summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_zone.h
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-12-05 19:55:52 +0000
committerbde <bde@FreeBSD.org>1997-12-05 19:55:52 +0000
commitefd51d84cff8b02bed9decd3c250f5ea7f2039b2 (patch)
tree8174d2035e8a308d5e8ad0d06d7aa5adb2466eee /sys/vm/vm_zone.h
parentdbfaf6f7a4399cb21763df9e352f905004d2bc8d (diff)
downloadFreeBSD-src-efd51d84cff8b02bed9decd3c250f5ea7f2039b2.zip
FreeBSD-src-efd51d84cff8b02bed9decd3c250f5ea7f2039b2.tar.gz
Don't include <sys/lock.h> in headers when only `struct simplelock' is
required. Fixed everything that depended on the pollution.
Diffstat (limited to 'sys/vm/vm_zone.h')
-rw-r--r--sys/vm/vm_zone.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/vm/vm_zone.h b/sys/vm/vm_zone.h
index 4506247..58d29bf 100644
--- a/sys/vm/vm_zone.h
+++ b/sys/vm/vm_zone.h
@@ -18,7 +18,7 @@
* 5. Modifications may be freely made to this file if the above conditions
* are met.
*
- * $Id: vm_zone.h,v 1.6 1997/09/21 04:24:27 dyson Exp $
+ * $Id: vm_zone.h,v 1.7 1997/09/21 11:41:12 peter Exp $
*/
#if !defined(_SYS_ZONE_H)
@@ -28,8 +28,7 @@
#define ZONE_INTERRUPT 1 /* Use this if you need to allocate at int time */
#define ZONE_BOOT 16 /* This is an internal flag used by zbootinit */
-#include <machine/param.h>
-#include <sys/lock.h>
+#include <machine/lock.h>
typedef struct vm_zone {
struct simplelock zlock; /* lock for data structure */
OpenPOWER on IntegriCloud