[patch 049/198] ppc64: fix export of wrong symbol

From: akpm
Date: Tue Apr 12 2005 - 15:18:31 EST



From: Paul Mackerras <paulus@xxxxxxxxx>

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 <paulus@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

25-akpm/arch/ppc64/kernel/ppc_ksyms.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN arch/ppc64/kernel/ppc_ksyms.c~ppc64-fix-export-of-wrong-symbol arch/ppc64/kernel/ppc_ksyms.c
--- 25/arch/ppc64/kernel/ppc_ksyms.c~ppc64-fix-export-of-wrong-symbol 2005-04-12 03:21:15.267815840 -0700
+++ 25-akpm/arch/ppc64/kernel/ppc_ksyms.c 2005-04-12 03:21:15.270815384 -0700
@@ -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
_
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/