]> Git Repo - linux.git/commitdiff
um: Include missing headers in asm/pgtable.h
authorTiwei Bie <[email protected]>
Mon, 13 Jan 2025 15:32:17 +0000 (23:32 +0800)
committerJohannes Berg <[email protected]>
Mon, 13 Jan 2025 16:19:43 +0000 (17:19 +0100)
Formerly, asm/pgtable.h relied on the implicit inclusion of asm/page.h
and linux/mm_types.h via asm/fixmap.h. With the removal of asm/fixmap.h,
these headers need to be included explicitly in asm/pgtable.h now.

Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Fixes: 5bfc4a3a0af3 ("um: Remove obsolete fixmap support")
Signed-off-by: Tiwei Bie <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Johannes Berg <[email protected]>
arch/um/include/asm/pgtable.h

index 9be6daca95be4cfbd7fc8a275664144286d8adac..5601ca98e8a6ab50e36c4192e9e7f9e3eda57453 100644 (file)
@@ -8,6 +8,9 @@
 #ifndef __UM_PGTABLE_H
 #define __UM_PGTABLE_H
 
+#include <asm/page.h>
+#include <linux/mm_types.h>
+
 #define _PAGE_PRESENT  0x001
 #define _PAGE_NEEDSYNC 0x002
 #define _PAGE_RW       0x020
This page took 0.071204 seconds and 4 git commands to generate.