summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/ppc_ksyms.c
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2005-11-29 15:50:58 +1100
committerPaul Mackerras <paulus@samba.org>2005-11-29 15:50:58 +1100
commit666acb94d155106e494c6dfdd8b2fae44e0fad61 (patch)
treea6c2dfb66883b6ccf95307a74d875f3a66458eab /arch/powerpc/kernel/ppc_ksyms.c
parent0e2d94f6a09d0a2d39c3b7d9529ac5c378098245 (diff)
downloadop-kernel-dev-666acb94d155106e494c6dfdd8b2fae44e0fad61.zip
op-kernel-dev-666acb94d155106e494c6dfdd8b2fae44e0fad61.tar.gz
powerpc: Export __flush_icache_range for 32-bit
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>
Diffstat (limited to 'arch/powerpc/kernel/ppc_ksyms.c')
-rw-r--r--arch/powerpc/kernel/ppc_ksyms.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/powerpc/kernel/ppc_ksyms.c b/arch/powerpc/kernel/ppc_ksyms.c
index af4d1bc..94db257 100644
--- a/arch/powerpc/kernel/ppc_ksyms.c
+++ b/arch/powerpc/kernel/ppc_ksyms.c
@@ -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
OpenPOWER on IntegriCloud