summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k/include/vmparam.h
diff options
context:
space:
mode:
authorgene <gene@cvs.openbsd.org>1997-11-30 06:10:39 +0000
committergene <gene@cvs.openbsd.org>1997-11-30 06:10:39 +0000
commit8ea4507ab737632dbe77c8e6f4eeba486c3fa974 (patch)
tree850d43c4bca54f385e98362b6bd49eb888192467 /sys/arch/mac68k/include/vmparam.h
parentc38e0feb6b313449fd0763bf4ac87b3976bf8741 (diff)
Add multiple inclusion protection, clean up comments, and wrap with _KERNEL
where appropriate. Note that this buys us notable speed boosts on a machine as slow as the mac68k.
Diffstat (limited to 'sys/arch/mac68k/include/vmparam.h')
-rw-r--r--sys/arch/mac68k/include/vmparam.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/mac68k/include/vmparam.h b/sys/arch/mac68k/include/vmparam.h
index 7975e2e9001..5f0d3e75d64 100644
--- a/sys/arch/mac68k/include/vmparam.h
+++ b/sys/arch/mac68k/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmparam.h,v 1.3 1997/01/24 01:35:42 briggs Exp $ */
+/* $OpenBSD: vmparam.h,v 1.4 1997/11/30 06:10:37 gene Exp $ */
/* $NetBSD: vmparam.h,v 1.8 1996/11/15 14:21:00 briggs Exp $ */
/*
@@ -80,6 +80,8 @@
/*
* Machine dependent constants for mac68k -- mostly derived from hp300.
*/
+#ifndef _MAC68K_VMPARAM_H_
+#define _MAC68K_VMPARAM_H_
/*
* USRTEXT is the start of the user text/data space, while USRSTACK
@@ -274,3 +276,5 @@
/* pcb base */
#define pcbb(p) ((u_int)(p)->p_addr)
+
+#endif /* _MAC68K_VMPARAM_H_ */