diff options
author | Will Deacon <will@kernel.org> | 2021-02-10 11:15:11 +0000 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2021-02-10 18:49:42 +0000 |
commit | de591a82f41b61af4a8fce49d21b43105c5c2186 (patch) | |
tree | fffc96ee3a2505bb6cb3eed12cb2b76b420a427b /mm/filemap.c | |
parent | 3f98a28cc37253269b4104cf95a51f7716a2eb97 (diff) | |
download | linux-de591a82f41b61af4a8fce49d21b43105c5c2186.tar.bz2 |
mm: filemap: Fix microblaze build failure with 'mmu_defconfig'
Commit f9ce0be71d1f ("mm: Cleanup faultaround and finish_fault()
codepaths") added a call to 'update_mmu_cache()' in mm/filemap.c, which
breaks the build for microblaze:
| mm/filemap.c: In function 'filemap_map_pages':
| mm/filemap.c:3153:3: error: implicit declaration of function 'update_mmu_cache'; did you mean 'update_mmu_tlb'?
Include asm/tlbflush.h in mm/filemap.c to make sure that the function
(or indeed, macro) is available.
Reported-by: Guenter Roeck <linux@roeck-us.net>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20210209202449.GA104837@roeck-us.net
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'mm/filemap.c')
-rw-r--r-- | mm/filemap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/filemap.c b/mm/filemap.c index fb7a8d9b5603..2ca13227747b 100644 --- a/mm/filemap.c +++ b/mm/filemap.c @@ -43,6 +43,7 @@ #include <linux/ramfs.h> #include <linux/page_idle.h> #include <asm/pgalloc.h> +#include <asm/tlbflush.h> #include "internal.h" #define CREATE_TRACE_POINTS |