Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3b04c300 authored by Kevin Hao's avatar Kevin Hao Committed by Benjamin Herrenschmidt
Browse files

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: default avatarKevin Hao <haokexin@gmail.com>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent abb29c3b
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -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);
+1 −1
Original line number Diff line number Diff line
@@ -327,7 +327,7 @@ END_FTR_SECTION_IFSET(CPU_FTR_UNIFIED_ID_CACHE)
 *
 * flush_icache_range(unsigned long start, unsigned long stop)
 */
_KPROBE(__flush_icache_range)
_KPROBE(flush_icache_range)
BEGIN_FTR_SECTION
	isync
	blr				/* for 601, do nothing */
+1 −1
Original line number Diff line number Diff line
@@ -67,7 +67,7 @@ PPC64_CACHES:
 *   flush all bytes from start through stop-1 inclusive
 */

_KPROBE(__flush_icache_range)
_KPROBE(flush_icache_range)
BEGIN_FTR_SECTION
	blr
END_FTR_SECTION_IFSET(CPU_FTR_COHERENT_ICACHE)
+0 −1
Original line number Diff line number Diff line
@@ -111,7 +111,6 @@ EXPORT_SYMBOL(giveup_spe);
#ifndef CONFIG_PPC64
EXPORT_SYMBOL(flush_instruction_cache);
#endif
EXPORT_SYMBOL(__flush_icache_range);
EXPORT_SYMBOL(flush_dcache_range);

#ifdef CONFIG_SMP