summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>1999-11-25 08:44:08 +0000
committerArtur Grabowski <art@cvs.openbsd.org>1999-11-25 08:44:08 +0000
commitba4552c91a02b195c5244f9770d9d90683871654 (patch)
treecdda902363697a17d7d9c0f5a04bf5a0718e5412 /sys
parent4fa0b6f54ae2ea7f768868f8204878be8ef4ca63 (diff)
Update comments to reflect reality.
Diffstat (limited to 'sys')
-rw-r--r--sys/vm/vm_param.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/sys/vm/vm_param.h b/sys/vm/vm_param.h
index f5e0cd5ca1d..1157595e59d 100644
--- a/sys/vm/vm_param.h
+++ b/sys/vm/vm_param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_param.h,v 1.16 1999/11/25 08:41:36 art Exp $ */
+/* $OpenBSD: vm_param.h,v 1.17 1999/11/25 08:44:07 art Exp $ */
/* $NetBSD: vm_param.h,v 1.12 1995/03/26 20:39:16 jtc Exp $ */
/*
@@ -93,10 +93,14 @@ typedef int boolean_t;
/*
* All references to the size of a page should be done with PAGE_SIZE
- * or PAGE_SHIFT. The fact they are variables is hidden here so that
- * we can easily make them constant if we so desire.
+ * or PAGE_SHIFT.
+ * We allow them to be constants in MD code, but when necessary
+ * (especially in LKMs) they will still be variables.
*/
#if !defined(PAGE_SIZE) || defined(_LKM)
+/*
+ * We undef those here to avoid problmes with LKMs.
+ */
#undef PAGE_SIZE
#undef PAGE_MASK
#undef PAGE_SHIFT