powerpc: Export __flush_icache_range for 32-bit
authorPaul Mackerras <paulus@samba.org>
Tue, 29 Nov 2005 04:50:58 +0000 (15:50 +1100)
committerPaul Mackerras <paulus@samba.org>
Tue, 29 Nov 2005 04:50:58 +0000 (15:50 +1100)
Both 32-bit and 64-bit use the same inline flush_icache_range definition
now, so both need to export __flush_icache_range, not just 64-bit.

Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/ppc_ksyms.c

index af4d1bc9a2eb5dc78f3fa1b6503902d32716ce7f..94db25708456857995cbe42c1a41a1936442617f 100644 (file)
@@ -163,15 +163,13 @@ EXPORT_SYMBOL(giveup_altivec);
 EXPORT_SYMBOL(giveup_spe);
 #endif /* CONFIG_SPE */
 
-#ifdef CONFIG_PPC64
-EXPORT_SYMBOL(__flush_icache_range);
-#else
+#ifndef CONFIG_PPC64
 EXPORT_SYMBOL(flush_instruction_cache);
-EXPORT_SYMBOL(flush_icache_range);
 EXPORT_SYMBOL(flush_tlb_kernel_range);
 EXPORT_SYMBOL(flush_tlb_page);
 EXPORT_SYMBOL(_tlbie);
 #endif
+EXPORT_SYMBOL(__flush_icache_range);
 EXPORT_SYMBOL(flush_dcache_range);
 
 #ifdef CONFIG_SMP