Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/include Use ifdef _KERNEL_OPT instead of if...



details:   https://anonhg.NetBSD.org/src/rev/76ba21106b83
branches:  trunk
changeset: 1019445:76ba21106b83
user:      simonb <simonb%NetBSD.org@localhost>
date:      Thu Mar 11 08:33:34 2021 +0000

description:
Use ifdef _KERNEL_OPT instead of ifdef _KERNEL before including
"opt_ppcarch.h".

diffstat:

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

diffs (19 lines):

diff -r b5f601f10578 -r 76ba21106b83 sys/arch/powerpc/include/db_machdep.h
--- a/sys/arch/powerpc/include/db_machdep.h     Thu Mar 11 04:43:47 2021 +0000
+++ b/sys/arch/powerpc/include/db_machdep.h     Thu Mar 11 08:33:34 2021 +0000
@@ -1,5 +1,5 @@
 /*     $OpenBSD: db_machdep.h,v 1.2 1997/03/21 00:48:48 niklas Exp $   */
-/*     $NetBSD: db_machdep.h,v 1.29 2021/01/06 08:14:34 rin Exp $      */
+/*     $NetBSD: db_machdep.h,v 1.30 2021/03/11 08:33:34 simonb Exp $   */
 
 /* 
  * Mach Operating System
@@ -33,7 +33,7 @@
 #ifndef        _PPC_DB_MACHDEP_H_
 #define        _PPC_DB_MACHDEP_H_
 
-#ifdef _KERNEL
+#if defined(_KERNEL_OPT)
 #include "opt_ppcarch.h"
 #endif
 



Home | Main Index | Thread Index | Old Index