[PATCH 2/4] shmem: remove unneeded header file
From: Miaohe Lin
Date: Thu Aug 12 2021 - 08:03:58 EST
mfill_atomic_install_pte() is introduced to install pte and update mmu
cache since commit bf6ebd97aba0 ("userfaultfd/shmem: modify
shmem_mfill_atomic_pte to use install_pte()"). So we should remove
tlbflush.h as update_mmu_cache() is not called here now.
Signed-off-by: Miaohe Lin <linmiaohe@xxxxxxxxxx>
---
mm/shmem.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/mm/shmem.c b/mm/shmem.c
index bf4a47419521..41d2900153d9 100644
--- a/mm/shmem.c
+++ b/mm/shmem.c
@@ -39,8 +39,6 @@
#include <linux/frontswap.h>
#include <linux/fs_parser.h>
-#include <asm/tlbflush.h> /* for arch/microblaze update_mmu_cache() */
-
static struct vfsmount *shm_mnt;
#ifdef CONFIG_SHMEM
--
2.23.0