Module Name: src
Committed By: christos
Date: Sat Feb 18 16:25:25 UTC 2012
Modified Files:
src/sys/arch/netwinder/include: vmparam.h
Log Message:
expose more for kmemuser; fix header protection.
To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/netwinder/include/vmparam.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/netwinder/include/vmparam.h
diff -u src/sys/arch/netwinder/include/vmparam.h:1.25 src/sys/arch/netwinder/include/vmparam.h:1.26
--- src/sys/arch/netwinder/include/vmparam.h:1.25 Sat Nov 6 11:42:47 2010
+++ src/sys/arch/netwinder/include/vmparam.h Sat Feb 18 11:25:25 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: vmparam.h,v 1.25 2010/11/06 15:42:47 uebayasi Exp $ */
+/* $NetBSD: vmparam.h,v 1.26 2012/02/18 16:25:25 christos Exp $ */
/*
* Copyright (c) 1988 The Regents of the University of California.
@@ -29,10 +29,10 @@
* SUCH DAMAGE.
*/
-#ifndef _ARM32_VMPARAM_H_
-#define _ARM32_VMPARAM_H_
+#ifndef _NETWINDER_VMPARAM_H_
+#define _NETWINDER_VMPARAM_H_
-#ifdef _KERNEL
+#if defined(_KERNEL) || defined(_KMEMUSER)
#include <arm/arm32/vmparam.h>
@@ -86,6 +86,6 @@
#define VM_FREELIST_DEFAULT 0
#define VM_FREELIST_ISADMA 1
-#endif /* _KERNEL */
+#endif /* _KERNEL || _KMEMUSER */
-#endif /* _ARM32_VMPARAM_H_ */
+#endif /* _NETWINDER_VMPARAM_H_ */