Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Sep 2023 10:54:04 GMT
From:      Dmitry Chagin <dchagin@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: cce0625cdf4f - stable/14 - linux(4): Cleanup includes under arm64
Message-ID:  <202309241054.38OAs4mR046137@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by dchagin:

URL: https://cgit.FreeBSD.org/src/commit/?id=cce0625cdf4f014b819b1a9665a299f127eae48a

commit cce0625cdf4f014b819b1a9665a299f127eae48a
Author:     Dmitry Chagin <dchagin@FreeBSD.org>
AuthorDate: 2023-09-11 18:29:28 +0000
Commit:     Dmitry Chagin <dchagin@FreeBSD.org>
CommitDate: 2023-09-24 10:51:36 +0000

    linux(4): Cleanup includes under arm64
    
    No functional changes.
    
    MFC after:              1 week
    
    (cherry picked from commit 027d727d4071435376017d3789fe603a8aec805a)
---
 sys/arm64/linux/linux_machdep.c | 2 --
 sys/arm64/linux/linux_sysvec.c  | 4 +---
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/sys/arm64/linux/linux_machdep.c b/sys/arm64/linux/linux_machdep.c
index 3ba5683941b5..3bc2923b9d4d 100644
--- a/sys/arm64/linux/linux_machdep.c
+++ b/sys/arm64/linux/linux_machdep.c
@@ -27,8 +27,6 @@
  */
 
 #include <sys/param.h>
-#include <sys/fcntl.h>
-#include <sys/ktr.h>
 #include <sys/proc.h>
 #include <sys/ptrace.h>
 #include <sys/reg.h>
diff --git a/sys/arm64/linux/linux_sysvec.c b/sys/arm64/linux/linux_sysvec.c
index 3072732de768..5f9252accb5f 100644
--- a/sys/arm64/linux/linux_sysvec.c
+++ b/sys/arm64/linux/linux_sysvec.c
@@ -44,10 +44,8 @@
 #include <sys/sysctl.h>
 #include <sys/sysent.h>
 
-#include <vm/pmap.h>
 #include <vm/vm.h>
-#include <vm/vm_map.h>
-#include <vm/vm_page.h>
+#include <vm/vm_param.h>
 
 #include <arm64/linux/linux.h>
 #include <arm64/linux/linux_proto.h>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202309241054.38OAs4mR046137>