aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/asm/cacheflush.h
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2013-05-01 16:38:23 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2013-06-07 17:58:30 +0100
commitebd88367de80f9509bd30a09342d0a19c925b23e (patch)
tree32c41a487f3ccfd91fc532be216bf5db1234c5ff /arch/arm64/include/asm/cacheflush.h
parentarm64: Do not flush the D-cache for anonymous pages (diff)
downloadlinux-dev-ebd88367de80f9509bd30a09342d0a19c925b23e.tar.xz
linux-dev-ebd88367de80f9509bd30a09342d0a19c925b23e.zip
arm64: Remove __flush_dcache_page()
This function is only used in __sync_icache_dcache(), so remove it and call __flush_dcache_area() directly. The flush_icache_user_range() function is not used in the arm64 kernel. Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Reported-by: Will Deacon <will.deacon@arm.com> Acked-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/include/asm/cacheflush.h')
-rw-r--r--arch/arm64/include/asm/cacheflush.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm64/include/asm/cacheflush.h b/arch/arm64/include/asm/cacheflush.h
index 3300cbd18a89..fea9ee327206 100644
--- a/arch/arm64/include/asm/cacheflush.h
+++ b/arch/arm64/include/asm/cacheflush.h
@@ -123,9 +123,6 @@ static inline void __flush_icache_all(void)
#define flush_dcache_mmap_unlock(mapping) \
spin_unlock_irq(&(mapping)->tree_lock)
-#define flush_icache_user_range(vma,page,addr,len) \
- flush_dcache_page(page)
-
/*
* We don't appear to need to do anything here. In fact, if we did, we'd
* duplicate cache flushing elsewhere performed by flush_dcache_page().