git: cba7b3b9563c - stable/14 - linux(4): Cleanup includes under amd64/linux32
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 24 Sep 2023 10:54:07 UTC
The branch stable/14 has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=cba7b3b9563cefd73a90c7a044ebc7827de1eed8 commit cba7b3b9563cefd73a90c7a044ebc7827de1eed8 Author: Dmitry Chagin <dchagin@FreeBSD.org> AuthorDate: 2023-09-11 18:29:40 +0000 Commit: Dmitry Chagin <dchagin@FreeBSD.org> CommitDate: 2023-09-24 10:51:36 +0000 linux(4): Cleanup includes under amd64/linux32 No functional changes. MFC after: 1 week (cherry picked from commit ba90a31d08e413b82c1d1d4d697c2cdb32a13674) --- sys/amd64/linux32/linux32_machdep.c | 14 -------------- sys/amd64/linux32/linux32_sysvec.c | 7 +------ 2 files changed, 1 insertion(+), 20 deletions(-) diff --git a/sys/amd64/linux32/linux32_machdep.c b/sys/amd64/linux32/linux32_machdep.c index e10502f9bd80..ba4dcc61af76 100644 --- a/sys/amd64/linux32/linux32_machdep.c +++ b/sys/amd64/linux32/linux32_machdep.c @@ -31,31 +31,17 @@ */ #include <sys/param.h> -#include <sys/fcntl.h> -#include <sys/imgact.h> -#include <sys/limits.h> #include <sys/lock.h> -#include <sys/malloc.h> #include <sys/mutex.h> #include <sys/priv.h> #include <sys/proc.h> #include <sys/reg.h> #include <sys/syscallsubr.h> -#include <machine/frame.h> #include <machine/md_var.h> -#include <machine/pcb.h> -#include <machine/psl.h> -#include <machine/segments.h> #include <machine/specialreg.h> #include <x86/ifunc.h> -#include <vm/pmap.h> -#include <vm/vm.h> -#include <vm/vm_map.h> - -#include <security/audit/audit.h> - #include <compat/freebsd32/freebsd32_util.h> #include <amd64/linux32/linux.h> #include <amd64/linux32/linux32_proto.h> diff --git a/sys/amd64/linux32/linux32_sysvec.c b/sys/amd64/linux32/linux32_sysvec.c index f2a379a66860..31436ee7162a 100644 --- a/sys/amd64/linux32/linux32_sysvec.c +++ b/sys/amd64/linux32/linux32_sysvec.c @@ -40,12 +40,10 @@ #include <sys/param.h> #include <sys/exec.h> -#include <sys/fcntl.h> #include <sys/imgact.h> #include <sys/imgact_elf.h> #include <sys/kernel.h> #include <sys/lock.h> -#include <sys/malloc.h> #include <sys/module.h> #include <sys/mutex.h> #include <sys/proc.h> @@ -57,12 +55,9 @@ #include <vm/pmap.h> #include <vm/vm.h> #include <vm/vm_map.h> -#include <vm/vm_page.h> +#include <vm/vm_param.h> -#include <machine/cpu.h> #include <machine/md_var.h> -#include <machine/pcb.h> -#include <machine/specialreg.h> #include <machine/trap.h> #include <x86/linux/linux_x86.h>