summaryrefslogtreecommitdiff
path: root/arch/arm64/include/asm/cacheflush.h
diff options
context:
space:
mode:
authorKefeng Wang <wangkefeng.wang@huawei.com>2016-03-15 12:47:10 +0300
committerCatalin Marinas <catalin.marinas@arm.com>2016-03-21 15:10:03 +0300
commitcc7c0cda8f8c03d6867408e3df953b2fa67d704c (patch)
treeb145508f210c4a0e3e627d9ecc957e72d3e5a2c4 /arch/arm64/include/asm/cacheflush.h
parentb90b4a608ea2401cc491828f7a385edd2e236e37 (diff)
downloadlinux-cc7c0cda8f8c03d6867408e3df953b2fa67d704c.tar.xz
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>
Diffstat (limited to 'arch/arm64/include/asm/cacheflush.h')
-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 7fc294c3bc5b..6a5ecbddcace 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");