Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/iyonix/include Expose the contents also for _KMEMUS...



details:   https://anonhg.NetBSD.org/src/rev/d5c8e7f1589b
branches:  trunk
changeset: 777448:d5c8e7f1589b
user:      he <he%NetBSD.org@localhost>
date:      Sun Feb 19 07:51:52 2012 +0000

description:
Expose the contents also for _KMEMUSER, fixes build of usr.sbin/crash.

diffstat:

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

diffs (26 lines):

diff -r cb1f78a95ea1 -r d5c8e7f1589b sys/arch/iyonix/include/vmparam.h
--- a/sys/arch/iyonix/include/vmparam.h Sun Feb 19 05:07:10 2012 +0000
+++ b/sys/arch/iyonix/include/vmparam.h Sun Feb 19 07:51:52 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.4 2010/11/06 15:42:46 uebayasi Exp $     */
+/*     $NetBSD: vmparam.h,v 1.5 2012/02/19 07:51:52 he Exp $   */
 
 /*
  * Copyright (c) 1988 The Regents of the University of California.
@@ -32,7 +32,7 @@
 #ifndef        _IYONIX_VMPARAM_H_
 #define        _IYONIX_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 /* _IYONIX_VMPARAM_H_ */



Home | Main Index | Thread Index | Old Index