Source-Changes-HG archive

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

[src/trunk]: src/sys/arch Add #include "opt_cputype.h" where necessary.



details:   https://anonhg.NetBSD.org/src/rev/69f18875a094
branches:  trunk
changeset: 752780:69f18875a094
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat Mar 06 21:22:42 2010 +0000

description:
Add #include "opt_cputype.h" where necessary.

diffstat:

 sys/arch/hp700/hp700/locore.S |  3 ++-
 sys/arch/hp700/include/cpu.h  |  6 +++++-
 sys/arch/hppa/hppa/pmap.c     |  6 ++++--
 sys/arch/hppa/include/pmap.h  |  6 +++++-
 4 files changed, 16 insertions(+), 5 deletions(-)

diffs (77 lines):

diff -r a785aa5b4389 -r 69f18875a094 sys/arch/hp700/hp700/locore.S
--- a/sys/arch/hp700/hp700/locore.S     Sat Mar 06 21:15:17 2010 +0000
+++ b/sys/arch/hp700/hp700/locore.S     Sat Mar 06 21:22:42 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.S,v 1.41 2010/02/18 21:38:32 skrll Exp $        */
+/*     $NetBSD: locore.S,v 1.42 2010/03/06 21:22:42 skrll Exp $        */
 /*     $OpenBSD: locore.S,v 1.158 2008/07/28 19:08:46 miod Exp $       */
 
 /*
@@ -57,6 +57,7 @@
  *  suitability of this software for any purpose.
  */
 
+#include "opt_cputype.h"
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
 #include "opt_lockdebug.h"
diff -r a785aa5b4389 -r 69f18875a094 sys/arch/hp700/include/cpu.h
--- a/sys/arch/hp700/include/cpu.h      Sat Mar 06 21:15:17 2010 +0000
+++ b/sys/arch/hp700/include/cpu.h      Sat Mar 06 21:22:42 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu.h,v 1.37 2010/02/17 11:33:51 skrll Exp $   */
+/*     $NetBSD: cpu.h,v 1.38 2010/03/06 21:22:42 skrll Exp $   */
 
 /*     $OpenBSD: cpu.h,v 1.55 2008/07/23 17:39:35 kettenis Exp $       */
 
@@ -53,6 +53,10 @@
 #ifndef        _MACHINE_CPU_H_
 #define        _MACHINE_CPU_H_
 
+#ifdef _KERNEL_OPT
+#include "opt_cputype.h"
+#endif
+
 #include <machine/trap.h>
 #include <machine/frame.h>
 #include <machine/reg.h>
diff -r a785aa5b4389 -r 69f18875a094 sys/arch/hppa/hppa/pmap.c
--- a/sys/arch/hppa/hppa/pmap.c Sat Mar 06 21:15:17 2010 +0000
+++ b/sys/arch/hppa/hppa/pmap.c Sat Mar 06 21:22:42 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.69 2010/02/24 06:38:53 skrll Exp $  */
+/*     $NetBSD: pmap.c,v 1.70 2010/03/06 21:22:42 skrll Exp $  */
 
 /*-
  * Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@@ -65,7 +65,9 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.69 2010/02/24 06:38:53 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.70 2010/03/06 21:22:42 skrll Exp $");
+
+#include "opt_cputype.h"
 
 #include <sys/param.h>
 #include <sys/systm.h>
diff -r a785aa5b4389 -r 69f18875a094 sys/arch/hppa/include/pmap.h
--- a/sys/arch/hppa/include/pmap.h      Sat Mar 06 21:15:17 2010 +0000
+++ b/sys/arch/hppa/include/pmap.h      Sat Mar 06 21:22:42 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.h,v 1.24 2010/02/22 21:32:55 skrll Exp $  */
+/*     $NetBSD: pmap.h,v 1.25 2010/03/06 21:22:42 skrll Exp $  */
 
 /*     $OpenBSD: pmap.h,v 1.35 2007/12/14 18:32:23 deraadt Exp $       */
 
@@ -35,6 +35,10 @@
 #ifndef        _HPPA_PMAP_H_
 #define        _HPPA_PMAP_H_
 
+#ifdef _KERNEL_OPT
+#include "opt_cputype.h"
+#endif
+
 #include <sys/mutex.h>
 #include <machine/pte.h>
 #include <machine/cpufunc.h>



Home | Main Index | Thread Index | Old Index