git: c20d12958d45 - stable/15 - x86: remove sys/mount.h from genassym.c

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Sun, 21 Jun 2026 10:16:03 UTC
The branch stable/15 has been updated by kib:

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

commit c20d12958d45b8a01b9d3dd99b85a195183190ec
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-05-16 19:27:40 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-06-21 10:05:30 +0000

    x86: remove sys/mount.h from genassym.c
    
    (cherry picked from commit 72ab129799a231e322b119de3f9c1263e76527b8)
---
 sys/amd64/amd64/genassym.c | 3 ---
 sys/i386/i386/genassym.c   | 3 ---
 2 files changed, 6 deletions(-)

diff --git a/sys/amd64/amd64/genassym.c b/sys/amd64/amd64/genassym.c
index eb1b746f5893..b4cd7d64ddea 100644
--- a/sys/amd64/amd64/genassym.c
+++ b/sys/amd64/amd64/genassym.c
@@ -32,11 +32,9 @@
  * SUCH DAMAGE.
  */
 
-#include <sys/cdefs.h>
 #include "opt_hwpmc_hooks.h"
 #include "opt_kstack_pages.h"
 
-#include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/assym.h>
 #include <sys/bio.h>
@@ -46,7 +44,6 @@
 #include <sys/pmckern.h>
 #endif
 #include <sys/errno.h>
-#include <sys/mount.h>
 #include <sys/mutex.h>
 #include <sys/socket.h>
 #include <sys/resourcevar.h>
diff --git a/sys/i386/i386/genassym.c b/sys/i386/i386/genassym.c
index d4d80fbb38ac..1a31f6b3428c 100644
--- a/sys/i386/i386/genassym.c
+++ b/sys/i386/i386/genassym.c
@@ -32,12 +32,10 @@
  * SUCH DAMAGE.
  */
 
-#include <sys/cdefs.h>
 #include "opt_apic.h"
 #include "opt_hwpmc_hooks.h"
 #include "opt_kstack_pages.h"
 
-#include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/assym.h>
 #include <sys/bio.h>
@@ -47,7 +45,6 @@
 #endif
 #include <sys/proc.h>
 #include <sys/errno.h>
-#include <sys/mount.h>
 #include <sys/mutex.h>
 #include <sys/socket.h>
 #include <sys/resourcevar.h>