git: 18282c4772fb - main - sysarch: Add includes required for ktrcapfail() calls to be compiled
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 01 Jun 2023 21:19:07 UTC
The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=18282c4772fb68a0e076d17f30de9749190542f4 commit 18282c4772fb68a0e076d17f30de9749190542f4 Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2023-06-01 21:13:09 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2023-06-01 21:18:23 +0000 sysarch: Add includes required for ktrcapfail() calls to be compiled Reported by: jfree MFC after: 1 week --- 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 a3716a354448..b715663ea925 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>