aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKefeng Wang <wangkefeng.wang@huawei.com>2016-03-15 17:47:10 +0800
committerAlex Shi <alex.shi@linaro.org>2016-05-31 14:41:30 +0800
commitf7370c029b51e89e4279aa5c2b0be4ea0e33422c (patch)
tree4c017b3a83765976d0743589eb63c1c2a76a86b8
parent7ead5de0d86cd4082b2268a9aaebeead51b8c70a (diff)
downloadlinux-linaro-stable-f7370c029b51e89e4279aa5c2b0be4ea0e33422c.tar.gz
arm64: drop unused __local_flush_icache_all()
After commit 65da0a8e34a8 ("arm64: use non-global mappings for UEFI runtime regions"), nobody use __local_flush_icache_all() anymore, so drop it. Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com> Acked-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> (cherry picked from commit cc7c0cda8f8c03d6867408e3df953b2fa67d704c) Signed-off-by: Alex Shi <alex.shi@linaro.org>
-rw-r--r--arch/arm64/include/asm/cacheflush.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/arm64/include/asm/cacheflush.h b/arch/arm64/include/asm/cacheflush.h
index 7fc294c..6a5ecbd 100644
--- a/arch/arm64/include/asm/cacheflush.h
+++ b/arch/arm64/include/asm/cacheflush.h
@@ -116,13 +116,6 @@ extern void copy_to_user_page(struct vm_area_struct *, struct page *,
#define ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE 1
extern void flush_dcache_page(struct page *);
-static inline void __local_flush_icache_all(void)
-{
- asm("ic iallu");
- dsb(nsh);
- isb();
-}
-
static inline void __flush_icache_all(void)
{
asm("ic ialluis");