aboutsummaryrefslogtreecommitdiff
path: root/sys/mips
diff options
context:
space:
mode:
authorConrad Meyer <cem@FreeBSD.org>2019-05-21 20:38:48 +0000
committerConrad Meyer <cem@FreeBSD.org>2019-05-21 20:38:48 +0000
commitdaec92844e8fef4d0a629c70443043691e59530c (patch)
tree412c8e680cf6c12d5cbd2532dd4513e495e7c09b /sys/mips
parentaa32159686aea482c6e5fffdac952904a1cfc13c (diff)
downloadsrc-daec92844e8fef4d0a629c70443043691e59530c.tar.gz
src-daec92844e8fef4d0a629c70443043691e59530c.zip
Include ktr.h in more compilation units
Similar to r348026, exhaustive search for uses of CTRn() and cross reference ktr.h includes. Where it was obvious that an OS compat header of some kind included ktr.h indirectly, .c files were left alone. Some of these files clearly got ktr.h via header pollution in some scenarios, or tinderbox would not be passing prior to this revision, but go ahead and explicitly include it in files using it anyway. Like r348026, these CUs did not show up in tinderbox as missing the include. Reported by: peterj (arm64/mp_machdep.c) X-MFC-With: r347984 Sponsored by: Dell EMC Isilon
Notes
Notes: svn path=/head/; revision=348064
Diffstat (limited to 'sys/mips')
-rw-r--r--sys/mips/mips/freebsd32_machdep.c1
-rw-r--r--sys/mips/mips/pm_machdep.c2
-rw-r--r--sys/mips/mips/trap.c1
3 files changed, 3 insertions, 1 deletions
diff --git a/sys/mips/mips/freebsd32_machdep.c b/sys/mips/mips/freebsd32_machdep.c
index 348c14c33c53..354fcab561a5 100644
--- a/sys/mips/mips/freebsd32_machdep.c
+++ b/sys/mips/mips/freebsd32_machdep.c
@@ -41,6 +41,7 @@
#include <sys/sysent.h>
#include <sys/exec.h>
#include <sys/imgact.h>
+#include <sys/ktr.h>
#include <sys/malloc.h>
#include <sys/proc.h>
#include <sys/namei.h>
diff --git a/sys/mips/mips/pm_machdep.c b/sys/mips/mips/pm_machdep.c
index ae4dc9d9c7c6..11a1da0ff383 100644
--- a/sys/mips/mips/pm_machdep.c
+++ b/sys/mips/mips/pm_machdep.c
@@ -40,13 +40,13 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include <sys/types.h>
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/sysent.h>
#include <sys/proc.h>
#include <sys/signalvar.h>
#include <sys/exec.h>
+#include <sys/ktr.h>
#include <sys/imgact.h>
#include <sys/ucontext.h>
#include <sys/lock.h>
diff --git a/sys/mips/mips/trap.c b/sys/mips/mips/trap.c
index 55beb0a24b39..65a950624b26 100644
--- a/sys/mips/mips/trap.c
+++ b/sys/mips/mips/trap.c
@@ -51,6 +51,7 @@ __FBSDID("$FreeBSD$");
#include <sys/sysent.h>
#include <sys/proc.h>
#include <sys/kernel.h>
+#include <sys/ktr.h>
#include <sys/signalvar.h>
#include <sys/syscall.h>
#include <sys/lock.h>