Message ID | 20210812120350.49801-3-linmiaohe@huawei.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | Cleanups for shmem | expand |
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
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@huawei.com> --- mm/shmem.c | 2 -- 1 file changed, 2 deletions(-)