Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/xen/include apply some _KERNEL_OPT.



details:   https://anonhg.NetBSD.org/src/rev/3065b15f49cb
branches:  trunk
changeset: 764344:3065b15f49cb
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Apr 17 09:50:33 2011 +0000

description:
apply some _KERNEL_OPT.

diffstat:

 sys/arch/xen/include/xen.h     |  5 ++++-
 sys/arch/xen/include/xenpmap.h |  5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diffs (40 lines):

diff -r 5043f3de0769 -r 3065b15f49cb sys/arch/xen/include/xen.h
--- a/sys/arch/xen/include/xen.h        Sun Apr 17 09:47:40 2011 +0000
+++ b/sys/arch/xen/include/xen.h        Sun Apr 17 09:50:33 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: xen.h,v 1.32 2009/07/29 12:02:06 cegger Exp $  */
+/*     $NetBSD: xen.h,v 1.33 2011/04/17 09:50:33 mrg Exp $     */
 
 /*
  *
@@ -27,7 +27,10 @@
 
 #ifndef _XEN_H
 #define _XEN_H
+
+#ifdef _KERNEL_OPT
 #include "opt_xen.h"
+#endif
 
 
 #ifndef _LOCORE
diff -r 5043f3de0769 -r 3065b15f49cb sys/arch/xen/include/xenpmap.h
--- a/sys/arch/xen/include/xenpmap.h    Sun Apr 17 09:47:40 2011 +0000
+++ b/sys/arch/xen/include/xenpmap.h    Sun Apr 17 09:50:33 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: xenpmap.h,v 1.25 2011/02/10 00:23:14 jym Exp $ */
+/*     $NetBSD: xenpmap.h,v 1.26 2011/04/17 09:50:33 mrg Exp $ */
 
 /*
  *
@@ -29,7 +29,10 @@
 
 #ifndef _XEN_XENPMAP_H_
 #define _XEN_XENPMAP_H_
+
+#ifdef _KERNEL_OPT
 #include "opt_xen.h"
+#endif
 
 #define        INVALID_P2M_ENTRY       (~0UL)
 



Home | Main Index | Thread Index | Old Index