Skip to contentSkip to conversation

ppc64: fix export of wrong symbol

PATCH In review [email protected] 1 participant 1 message Apr 12, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 49/198 ppc64: fix export of wrong symbol

From: Paul Mackerras <[email protected]>

In arch/ppc64/kernel/ppc_ksyms.c, we are still exporting flush_icache_range, but that has been changed to be an inline in include/asm-ppc64/cacheflush.h which calls __flush_icache_range (defined in arch/ppc64/kernel/misc.S).

This patch changes the export to __flush_icache_range, thus allowing modules to use the inline flush_icache_range.

---

 25-akpm/arch/ppc64/kernel/ppc_ksyms.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
arch/ppc64/kernel/ppc_ksyms.c renamed from arch/ppc64/kernel/ppc_ksyms.c~ppc64-fix-export-of-wrong-symbol +1 -1
diff -puN arch/ppc64/kernel/ppc_ksyms.c~ppc64-fix-export-of-wrong-symbol arch/ppc64/kernel/ppc_ksyms.c
@@ -74,7 +74,7 @@ EXPORT_SYMBOL(giveup_fpu);
 #ifdef CONFIG_ALTIVEC
 EXPORT_SYMBOL(giveup_altivec);
 #endif
-EXPORT_SYMBOL(flush_icache_range);
+EXPORT_SYMBOL(__flush_icache_range);
 
 #ifdef CONFIG_SMP
 #ifdef CONFIG_PPC_ISERIES

_