diff options
author | Tiwei Bie <tiwei.btw@antgroup.com> | 2025-01-13 23:32:17 +0800 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2025-01-13 17:19:43 +0100 |
commit | 3e9807aa6481304c5e992c4451976ab02c58f5ec (patch) | |
tree | 66550e53fdcca98910ba021862f74b528b93c7d1 /arch/um | |
parent | af10dd16655339a48178221fc4b73fbf171dd739 (diff) | |
download | linux-3e9807aa6481304c5e992c4451976ab02c58f5ec.tar.gz linux-3e9807aa6481304c5e992c4451976ab02c58f5ec.tar.bz2 linux-3e9807aa6481304c5e992c4451976ab02c58f5ec.zip |
um: Include missing headers in asm/pgtable.h
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 <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202501131814.E6CxjulL-lkp@intel.com/
Fixes: 5bfc4a3a0af3 ("um: Remove obsolete fixmap support")
Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com>
Link: https://patch.msgid.link/20250113153218.3331321-2-tiwei.btw@antgroup.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'arch/um')
-rw-r--r-- | arch/um/include/asm/pgtable.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/um/include/asm/pgtable.h b/arch/um/include/asm/pgtable.h index 9be6daca95be..5601ca98e8a6 100644 --- a/arch/um/include/asm/pgtable.h +++ b/arch/um/include/asm/pgtable.h @@ -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 |