git: 41e898d9f24b - stable/13 - linux(4): Cleanup includes under arm64/linux
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 01 Mar 2023 08:43:16 UTC
The branch stable/13 has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=41e898d9f24b8cdc7bb13fc4a510bfc7aec84c22 commit 41e898d9f24b8cdc7bb13fc4a510bfc7aec84c22 Author: Dmitry Chagin <dchagin@FreeBSD.org> AuthorDate: 2023-02-14 14:46:33 +0000 Commit: Dmitry Chagin <dchagin@FreeBSD.org> CommitDate: 2023-03-01 08:42:35 +0000 linux(4): Cleanup includes under arm64/linux Cleanup unneeded includes, sort the rest according to style(9). No functional changes. MFC after: 2 weeks (cherry picked from commit 55d3e181fc10edb4810f33009b65342c3e23dd88) --- sys/arm64/linux/linux_dummy_machdep.c | 3 +-- sys/arm64/linux/linux_sysvec.c | 8 +------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/sys/arm64/linux/linux_dummy_machdep.c b/sys/arm64/linux/linux_dummy_machdep.c index 40cab9baad10..571b9f0b2a4f 100644 --- a/sys/arm64/linux/linux_dummy_machdep.c +++ b/sys/arm64/linux/linux_dummy_machdep.c @@ -30,9 +30,8 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/kernel.h> -#include <sys/sdt.h> -#include <sys/systm.h> #include <sys/proc.h> +#include <sys/sdt.h> #include <arm64/linux/linux.h> #include <arm64/linux/linux_proto.h> diff --git a/sys/arm64/linux/linux_sysvec.c b/sys/arm64/linux/linux_sysvec.c index 0bd8d60dcd93..7e1e35e6bae3 100644 --- a/sys/arm64/linux/linux_sysvec.c +++ b/sys/arm64/linux/linux_sysvec.c @@ -32,8 +32,6 @@ __FBSDID("$FreeBSD$"); #define __ELF_WORD_SIZE 64 #include <sys/param.h> -#include <sys/systm.h> -#include <sys/cdefs.h> #include <sys/elf.h> #include <sys/exec.h> #include <sys/imgact.h> @@ -45,18 +43,14 @@ __FBSDID("$FreeBSD$"); #include <sys/mutex.h> #include <sys/proc.h> #include <sys/stddef.h> -#include <sys/signalvar.h> #include <sys/syscallsubr.h> #include <sys/sysctl.h> #include <sys/sysent.h> -#include <vm/vm.h> #include <vm/pmap.h> +#include <vm/vm.h> #include <vm/vm_map.h> -#include <vm/vm_extern.h> -#include <vm/vm_object.h> #include <vm/vm_page.h> -#include <vm/vm_param.h> #include <arm64/linux/linux.h> #include <arm64/linux/linux_proto.h>