git: 86204d931f3a - stable/13 - sysarch: Add includes required for ktrcapfail() calls to be compiled
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 09 Jun 2023 17:21:28 UTC
The branch stable/13 has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=86204d931f3a6031b6203b7345038560c8d30829
commit 86204d931f3a6031b6203b7345038560c8d30829
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2023-06-01 21:13:09 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2023-06-09 17:20:05 +0000
sysarch: Add includes required for ktrcapfail() calls to be compiled
Reported by: jfree
MFC after: 1 week
(cherry picked from commit 18282c4772fb68a0e076d17f30de9749190542f4)
---
sys/amd64/amd64/sys_machdep.c | 2 ++
sys/arm/arm/sys_machdep.c | 2 ++
sys/i386/i386/sys_machdep.c | 2 ++
3 files changed, 6 insertions(+)
diff --git a/sys/amd64/amd64/sys_machdep.c b/sys/amd64/amd64/sys_machdep.c
index 9a577e3e0817..cbbadc0966cc 100644
--- a/sys/amd64/amd64/sys_machdep.c
+++ b/sys/amd64/amd64/sys_machdep.c
@@ -36,11 +36,13 @@
__FBSDID("$FreeBSD$");
#include "opt_capsicum.h"
+#include "opt_ktrace.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/capsicum.h>
#include <sys/kernel.h>
+#include <sys/ktrace.h>
#include <sys/lock.h>
#include <sys/malloc.h>
#include <sys/mutex.h>
diff --git a/sys/arm/arm/sys_machdep.c b/sys/arm/arm/sys_machdep.c
index fc424d0fad39..718c5a06318e 100644
--- a/sys/arm/arm/sys_machdep.c
+++ b/sys/arm/arm/sys_machdep.c
@@ -35,10 +35,12 @@
__FBSDID("$FreeBSD$");
#include "opt_capsicum.h"
+#include "opt_ktrace.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/capsicum.h>
+#include <sys/ktrace.h>
#include <sys/proc.h>
#include <sys/sysproto.h>
#include <sys/syscall.h>
diff --git a/sys/i386/i386/sys_machdep.c b/sys/i386/i386/sys_machdep.c
index eeff4b280696..04456b55da52 100644
--- a/sys/i386/i386/sys_machdep.c
+++ b/sys/i386/i386/sys_machdep.c
@@ -36,10 +36,12 @@ __FBSDID("$FreeBSD$");
#include "opt_capsicum.h"
#include "opt_kstack_pages.h"
+#include "opt_ktrace.h"
#include <sys/param.h>
#include <sys/capsicum.h>
#include <sys/systm.h>
+#include <sys/ktrace.h>
#include <sys/lock.h>
#include <sys/malloc.h>
#include <sys/mutex.h>