Module Name: src
Committed By: rin
Date: Mon Jul 6 10:42:21 UTC 2020
Modified Files:
src/sys/arch/powerpc/ibm4xx: trap_subr.S
Log Message:
Include required opt_*.h for sure.
To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/arch/powerpc/ibm4xx/trap_subr.S
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/ibm4xx/trap_subr.S
diff -u src/sys/arch/powerpc/ibm4xx/trap_subr.S:1.28 src/sys/arch/powerpc/ibm4xx/trap_subr.S:1.29
--- src/sys/arch/powerpc/ibm4xx/trap_subr.S:1.28 Sun Mar 1 23:23:36 2020
+++ src/sys/arch/powerpc/ibm4xx/trap_subr.S Mon Jul 6 10:42:21 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: trap_subr.S,v 1.28 2020/03/01 23:23:36 rin Exp $ */
+/* $NetBSD: trap_subr.S,v 1.29 2020/07/06 10:42:21 rin Exp $ */
/*
* Copyright 2001 Wasabi Systems, Inc.
@@ -73,6 +73,11 @@
* #include <powerpc/ibm4xx/trap_subr.S>
*/
+#ifdef _KERNEL_OPT
+#include "opt_ddb.h"
+#include "opt_kgdb.h"
+#endif
+
/*
* XXX Interrupt and spill stacks need to be per-CPU.
*/