[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210812120350.49801-3-linmiaohe@huawei.com>
Date: Thu, 12 Aug 2021 20:03:48 +0800
From: Miaohe Lin <linmiaohe@...wei.com>
To: <akpm@...ux-foundation.org>, <hughd@...gle.com>
CC: <linux-mm@...ck.org>, <linux-kernel@...r.kernel.org>,
<linmiaohe@...wei.com>
Subject: [PATCH 2/4] 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.
Signed-off-by: Miaohe Lin <linmiaohe@...wei.com>
---
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
Powered by blists - more mailing lists