summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/cacheflush.h
diff options
context:
space:
mode:
authorKevin Hao <haokexin@gmail.com>2013-08-06 12:23:31 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-08-14 06:56:44 +0200
commit3b04c300070f5ee2608b092e98aa121b963cec26 (patch)
treeadc5fdb83c0d46aac0a617c9831dfd34409b8035 /arch/powerpc/include/asm/cacheflush.h
parentpowerpc: Move the testing of CPU_FTR_COHERENT_ICACHE into __flush_icache_range (diff)
downloadlinux-3b04c300070f5ee2608b092e98aa121b963cec26.tar.xz
linux-3b04c300070f5ee2608b092e98aa121b963cec26.zip
powerpc: Remove the symbol __flush_icache_range
And now the function flush_icache_range() is just a wrapper which only invoke the function __flush_icache_range() directly. So we don't have reason to keep it anymore. Signed-off-by: Kevin Hao <haokexin@gmail.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/cacheflush.h')
-rw-r--r--arch/powerpc/include/asm/cacheflush.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/powerpc/include/asm/cacheflush.h b/arch/powerpc/include/asm/cacheflush.h
index 60b620d64ac9..5b9312220e84 100644
--- a/arch/powerpc/include/asm/cacheflush.h
+++ b/arch/powerpc/include/asm/cacheflush.h
@@ -32,12 +32,7 @@ extern void flush_dcache_page(struct page *page);
extern void __flush_disable_L1(void);
-extern void __flush_icache_range(unsigned long, unsigned long);
-static inline void flush_icache_range(unsigned long start, unsigned long stop)
-{
- __flush_icache_range(start, stop);
-}
-
+extern void flush_icache_range(unsigned long, unsigned long);
extern void flush_icache_user_range(struct vm_area_struct *vma,
struct page *page, unsigned long addr,
int len);