Module Name:    src
Committed By:   dyoung
Date:           Fri Jul  1 22:08:22 UTC 2011

Modified Files:
        src/sys/arch/mips/include: locore.h

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


To generate a diff of this commit:
cvs rdiff -u -r1.90 -r1.91 src/sys/arch/mips/include/locore.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/mips/include/locore.h
diff -u src/sys/arch/mips/include/locore.h:1.90 src/sys/arch/mips/include/locore.h:1.91
--- src/sys/arch/mips/include/locore.h:1.90	Fri Apr 29 22:05:16 2011
+++ src/sys/arch/mips/include/locore.h	Fri Jul  1 22:08:22 2011
@@ -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
 

Reply via email to