diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2021-09-02 23:54:09 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-09-03 18:58:11 +0200 |
commit | b6378fc8b477921e62fd5763efeec676ff8e7a16 (patch) | |
tree | 6021a2ff712639b8e93c00dc5e7bfcbacdcbc01b /mm/shmem.c | |
parent | shmem: remove unneeded variable ret (diff) | |
download | linux-b6378fc8b477921e62fd5763efeec676ff8e7a16.tar.xz linux-b6378fc8b477921e62fd5763efeec676ff8e7a16.zip |
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.c | 2 |
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 |