diff options
author | Kevin Hao <haokexin@gmail.com> | 2013-08-06 06:23:31 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-08-14 00:56:44 -0400 |
commit | 3b04c300070f5ee2608b092e98aa121b963cec26 (patch) | |
tree | adc5fdb83c0d46aac0a617c9831dfd34409b8035 /arch/powerpc/include/asm/cacheflush.h | |
parent | abb29c3bb13c7b747fae18b9c63b660529ccc612 (diff) |
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.h | 7 |
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); | |||
32 | 32 | ||
33 | extern void __flush_disable_L1(void); | 33 | extern void __flush_disable_L1(void); |
34 | 34 | ||
35 | extern void __flush_icache_range(unsigned long, unsigned long); | 35 | extern void flush_icache_range(unsigned long, unsigned long); |
36 | static inline void flush_icache_range(unsigned long start, unsigned long stop) | ||
37 | { | ||
38 | __flush_icache_range(start, stop); | ||
39 | } | ||
40 | |||
41 | extern void flush_icache_user_range(struct vm_area_struct *vma, | 36 | extern void flush_icache_user_range(struct vm_area_struct *vma, |
42 | struct page *page, unsigned long addr, | 37 | struct page *page, unsigned long addr, |
43 | int len); | 38 | int len); |