Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/include Don't #include "opt_cputype.h" unless ...



details:   https://anonhg.NetBSD.org/src/rev/7e11fd2dfb71
branches:  trunk
changeset: 766780:7e11fd2dfb71
user:      dyoung <dyoung%NetBSD.org@localhost>
date:      Fri Jul 01 22:08:22 2011 +0000

description:
Don't #include "opt_cputype.h" unless _KERNEL_OPT is #defined.

diffstat:

 sys/arch/mips/include/locore.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r fd049fb43689 -r 7e11fd2dfb71 sys/arch/mips/include/locore.h
--- a/sys/arch/mips/include/locore.h    Fri Jul 01 22:06:19 2011 +0000
+++ b/sys/arch/mips/include/locore.h    Fri Jul 01 22:08:22 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.h,v 1.90 2011/04/29 22:05:16 matt Exp $ */
+/* $NetBSD: locore.h,v 1.91 2011/07/01 22:08:22 dyoung Exp $ */
 
 /*
  * This file should not be included by MI code!!!
@@ -28,7 +28,7 @@
 #ifndef _MIPS_LOCORE_H
 #define _MIPS_LOCORE_H
 
-#ifndef _LKM
+#if !defined(_LKM) && defined(_KERNEL_OPT)
 #include "opt_cputype.h"
 #endif
 



Home | Main Index | Thread Index | Old Index