arm64: drop unused __local_flush_icache_all()
authorKefeng Wang <wangkefeng.wang@huawei.com>
Tue, 15 Mar 2016 09:47:10 +0000 (17:47 +0800)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 21 Mar 2016 12:10:03 +0000 (12:10 +0000)
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>
arch/arm64/include/asm/cacheflush.h

index 7fc294c3bc5baab31b13b1e23753d17835ce3b27..6a5ecbddcace06d77b06cd13790936e34801382e 100644 (file)
@@ -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");