git: 55d3e181fc10 - main - linux(4): Cleanup includes under arm64/linux
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 14 Feb 2023 14:47:26 UTC
The branch main has been updated by dchagin:
URL: https://cgit.FreeBSD.org/src/commit/?id=55d3e181fc10edb4810f33009b65342c3e23dd88
commit 55d3e181fc10edb4810f33009b65342c3e23dd88
Author: Dmitry Chagin <dchagin@FreeBSD.org>
AuthorDate: 2023-02-14 14:46:33 +0000
Commit: Dmitry Chagin <dchagin@FreeBSD.org>
CommitDate: 2023-02-14 14:46:33 +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
---
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 48b4305c5fe4..19fef57e78e4 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>