x86: remove sys/mount.h from genassym.c

The header is not needed, and causes some issues with build because it
requires vnode_if.h generated due to transient dependency from vnode.h.

While there, remove unneeded explicit sys/cdefs.h and sys/param.h usage.

Reported and tested by:		thierry
Fixes:	1d5e4020e3 ("vnode: add VIRF_KNOTE flag")
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
This commit is contained in:
Konstantin Belousov
2026-05-16 22:27:40 +03:00
parent 755c1e039a
commit 72ab129799
2 changed files with 0 additions and 6 deletions
-3
View File
@@ -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>
-3
View File
@@ -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>