From: Kefeng Wang Date: Tue, 15 Mar 2016 09:47:10 +0000 (+0800) Subject: arm64: drop unused __local_flush_icache_all() X-Git-Tag: v4.6-rc1~25^2~4 X-Git-Url: https://git.kernelconcepts.de/?a=commitdiff_plain;h=cc7c0cda8f8c03d6867408e3df953b2fa67d704c;p=karo-tx-linux.git 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 Acked-by: Mark Rutland Signed-off-by: Catalin Marinas --- 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");