From 0f173da3f630d2572720986368a6b040066ba106 Mon Sep 17 00:00:00 2001 From: Alexander Viro Date: Mon, 26 Jul 2004 07:01:57 -0700 Subject: [PATCH] [PATCH] CONFIG_MCOUNT fix for sparc64 CONFIG_MCOUNT on sparc64 is currently broken; we have both mcount and _mcount declared (and aliased to each other), but end up exporting the wrong one. As the result, with that option all modules get unresolved symbol. Signed-off-by: Linus Torvalds --- arch/sparc64/kernel/sparc64_ksyms.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/sparc64/kernel/sparc64_ksyms.c b/arch/sparc64/kernel/sparc64_ksyms.c index 5e77fcfb2741f..3c7d1e9a71980 100644 --- a/arch/sparc64/kernel/sparc64_ksyms.c +++ b/arch/sparc64/kernel/sparc64_ksyms.c @@ -142,8 +142,8 @@ EXPORT_SYMBOL(_raw_spin_lock_flags); EXPORT_SYMBOL(synchronize_irq); #if defined(CONFIG_MCOUNT) -extern void mcount(void); -EXPORT_SYMBOL_NOVERS(mcount); +extern void _mcount(void); +EXPORT_SYMBOL_NOVERS(_mcount); #endif /* CPU online map and active count. */ -- 2.53.0