From: Paul Mackerras Date: Sat, 16 Apr 2005 22:24:34 +0000 (-0700) Subject: [PATCH] ppc64: fix export of wrong symbol X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=fa89c5092eddcbcb425a1416f85906e3cc519793;p=deliverable%2Flinux.git [PATCH] ppc64: fix export of wrong symbol 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. Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/ppc64/kernel/ppc_ksyms.c b/arch/ppc64/kernel/ppc_ksyms.c index 6ced63a3439f..b230a63fe4c8 100644 --- a/arch/ppc64/kernel/ppc_ksyms.c +++ b/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