summaryrefslogtreecommitdiff
path: root/mm/shmem.c
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2021-09-02 14:54:09 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2021-09-03 09:58:11 -0700
commitb6378fc8b477921e62fd5763efeec676ff8e7a16 (patch)
tree6021a2ff712639b8e93c00dc5e7bfcbacdcbc01b /mm/shmem.c
parentf2b346e4522c2849a3dc59b7077b8952918ef486 (diff)
shmem: remove unneeded header file
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. Link: https://lkml.kernel.org/r/20210812120350.49801-3-linmiaohe@huawei.com Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Cc: Hugh Dickins <hughd@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/shmem.c')
-rw-r--r--mm/shmem.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/mm/shmem.c b/mm/shmem.c
index e28d2593ec27..c69adf9a2db3 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