Module Name: src
Committed By: he
Date: Sun Feb 19 07:51:52 UTC 2012
Modified Files:
src/sys/arch/iyonix/include: vmparam.h
Log Message:
Expose the contents also for _KMEMUSER, fixes build of usr.sbin/crash.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/iyonix/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/iyonix/include/vmparam.h
diff -u src/sys/arch/iyonix/include/vmparam.h:1.4 src/sys/arch/iyonix/include/vmparam.h:1.5
--- src/sys/arch/iyonix/include/vmparam.h:1.4 Sat Nov 6 15:42:46 2010
+++ src/sys/arch/iyonix/include/vmparam.h Sun Feb 19 07:51:52 2012
@@ -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_ */