Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/netwinder/include expose more for kmemuser; fix hea...



details:   https://anonhg.NetBSD.org/src/rev/7690346df8e8
branches:  trunk
changeset: 777434:7690346df8e8
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Feb 18 16:25:25 2012 +0000

description:
expose more for kmemuser; fix header protection.

diffstat:

 sys/arch/netwinder/include/vmparam.h |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (32 lines):

diff -r a4f97b936715 -r 7690346df8e8 sys/arch/netwinder/include/vmparam.h
--- a/sys/arch/netwinder/include/vmparam.h      Sat Feb 18 16:23:13 2012 +0000
+++ b/sys/arch/netwinder/include/vmparam.h      Sat Feb 18 16:25:25 2012 +0000
@@ -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_ */



Home | Main Index | Thread Index | Old Index