Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/m68k/include Only include opt_m68k_arch.h if _KERNE...



details:   https://anonhg.NetBSD.org/src/rev/03a465414c3b
branches:  trunk
changeset: 755448:03a465414c3b
user:      he <he%NetBSD.org@localhost>
date:      Sun Jun 06 11:41:06 2010 +0000

description:
Only include opt_m68k_arch.h if _KERNEL_OPT is defined, so that librump
builds again.  OK'ed by mrg@.

diffstat:

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

diffs (19 lines):

diff -r cfa395f13645 -r 03a465414c3b sys/arch/m68k/include/pmap_motorola.h
--- a/sys/arch/m68k/include/pmap_motorola.h     Sun Jun 06 10:44:40 2010 +0000
+++ b/sys/arch/m68k/include/pmap_motorola.h     Sun Jun 06 11:41:06 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap_motorola.h,v 1.29 2010/06/06 04:50:07 mrg Exp $   */
+/*     $NetBSD: pmap_motorola.h,v 1.30 2010/06/06 11:41:06 he Exp $    */
 
 /* 
  * Copyright (c) 1991, 1993
@@ -76,7 +76,9 @@
 #ifndef        _M68K_PMAP_MOTOROLA_H_
 #define        _M68K_PMAP_MOTOROLA_H_
 
+#ifdef _KERNEL_OPT
 #include "opt_m68k_arch.h"
+#endif
 
 #include <sys/simplelock.h>
 #include <machine/cpu.h>



Home | Main Index | Thread Index | Old Index