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

Jean-Sébastien Pédron <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.src,gmane.os.freebsd.current.scm
Message-ID <[email protected]>
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 <[email protected]>
AuthorDate: 2026-08-15 18:27:44 +0000
Commit:     Jean-Sébastien Pédron <[email protected]>
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>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.