git: f4cfc8a7f727 - main - linuxkpi: Include <linux/page-flags.h> from <linux/mm.h>

From: Jean-Sébastien Pédron <dumbbell_at_FreeBSD.org>
Date: Sat, 15 Aug 2026 18:28:38 UTC
The branch main has been updated by dumbbell:

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

commit f4cfc8a7f72783522dcdfa278be0c4d7e7dfc844
Author:     Jean-Sébastien Pédron <dumbbell@FreeBSD.org>
AuthorDate: 2026-08-15 18:27:44 +0000
Commit:     Jean-Sébastien Pédron <dumbbell@FreeBSD.org>
CommitDate: 2026-08-15 18:27:44 +0000

    linuxkpi: Include <linux/page-flags.h> from <linux/mm.h>
    
    This reproduces the same namespace pollution as Linux.
    
    Sponsored by:   The FreeBSD Foundation
    Differential Revision: https://reviews.freebsd.org/D58761
---
 sys/compat/linuxkpi/common/include/linux/mm.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/compat/linuxkpi/common/include/linux/mm.h b/sys/compat/linuxkpi/common/include/linux/mm.h
index a639c0947031..0f5cb4552710 100644
--- a/sys/compat/linuxkpi/common/include/linux/mm.h
+++ b/sys/compat/linuxkpi/common/include/linux/mm.h
@@ -42,6 +42,7 @@
 #include <linux/overflow.h>
 #include <linux/shrinker.h>
 #include <linux/page.h>
+#include <linux/page-flags.h>
 
 #include <asm/pgtable.h>