Commit 0f173da3 authored by Alexander Viro's avatar Alexander Viro Committed by Linus Torvalds

[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: default avatarLinus Torvalds <torvalds@osdl.org>
parent d99dff55
...@@ -142,8 +142,8 @@ EXPORT_SYMBOL(_raw_spin_lock_flags); ...@@ -142,8 +142,8 @@ EXPORT_SYMBOL(_raw_spin_lock_flags);
EXPORT_SYMBOL(synchronize_irq); EXPORT_SYMBOL(synchronize_irq);
#if defined(CONFIG_MCOUNT) #if defined(CONFIG_MCOUNT)
extern void mcount(void); extern void _mcount(void);
EXPORT_SYMBOL_NOVERS(mcount); EXPORT_SYMBOL_NOVERS(_mcount);
#endif #endif
/* CPU online map and active count. */ /* CPU online map and active count. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment