Module Name: src
Committed By: simonb
Date: Thu Mar 11 08:33:34 UTC 2021
Modified Files:
src/sys/arch/powerpc/include: db_machdep.h
Log Message:
Use ifdef _KERNEL_OPT instead of ifdef _KERNEL before including
"opt_ppcarch.h".
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/powerpc/include/db_machdep.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/powerpc/include/db_machdep.h
diff -u src/sys/arch/powerpc/include/db_machdep.h:1.29 src/sys/arch/powerpc/include/db_machdep.h:1.30
--- src/sys/arch/powerpc/include/db_machdep.h:1.29 Wed Jan 6 08:14:34 2021
+++ src/sys/arch/powerpc/include/db_machdep.h Thu Mar 11 08:33:34 2021
@@ -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