diff options
author | Dmitry Chagin <dchagin@FreeBSD.org> | 2023-02-14 14:46:33 +0000 |
---|---|---|
committer | Dmitry Chagin <dchagin@FreeBSD.org> | 2023-03-01 08:42:35 +0000 |
commit | 41e898d9f24b8cdc7bb13fc4a510bfc7aec84c22 (patch) | |
tree | 2c4d3595b0d21e7c68ce1d497d15832f4b4e7fbb | |
parent | 513957e11cfedc6ecbc92790f08b4194e9491f4d (diff) | |
download | src-41e898d9f24b8cdc7bb13fc4a510bfc7aec84c22.tar.gz src-41e898d9f24b8cdc7bb13fc4a510bfc7aec84c22.zip |
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)
-rw-r--r-- | sys/arm64/linux/linux_dummy_machdep.c | 3 | ||||
-rw-r--r-- | 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> |