Skip to content

Commit

Permalink
arm64: drop unused __local_flush_icache_all()
Browse files Browse the repository at this point in the history
After commit 65da0a8 ("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>
  • Loading branch information
Kefeng Wang authored and Catalin Marinas committed Mar 21, 2016
1 parent b90b4a6 commit cc7c0cd
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions arch/arm64/include/asm/cacheflush.h
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit cc7c0cd

Please sign in to comment.