Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbarm/include Wrap include of opt_machdep.h in ifd...



details:   https://anonhg.NetBSD.org/src/rev/d6479de922be
branches:  trunk
changeset: 825239:d6479de922be
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Wed Jul 05 09:37:14 2017 +0000

description:
Wrap include of opt_machdep.h in ifdef _KERNEL_OPT

diffstat:

 sys/arch/evbarm/include/bootconfig.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r e23e9c6b69c0 -r d6479de922be sys/arch/evbarm/include/bootconfig.h
--- a/sys/arch/evbarm/include/bootconfig.h      Wed Jul 05 03:44:59 2017 +0000
+++ b/sys/arch/evbarm/include/bootconfig.h      Wed Jul 05 09:37:14 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bootconfig.h,v 1.7 2017/07/05 01:08:45 jmcneill Exp $  */
+/*     $NetBSD: bootconfig.h,v 1.8 2017/07/05 09:37:14 jmcneill Exp $  */
 
 /*
  * Copyright (c) 1994 Mark Brinicombe.
@@ -36,7 +36,9 @@
  * SUCH DAMAGE.
  */
 
+#ifdef _KERNEL_OPT
 #include "opt_machdep.h"
+#endif
 
 #include <arm/bootconfig.h>
 



Home | Main Index | Thread Index | Old Index