summaryrefslogtreecommitdiff
path: root/arch/ia64/kernel/ia64_ksyms.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ia64/kernel/ia64_ksyms.c')
-rw-r--r--arch/ia64/kernel/ia64_ksyms.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/ia64/kernel/ia64_ksyms.c b/arch/ia64/kernel/ia64_ksyms.c
index 6da1f20d7372..2d311864e359 100644
--- a/arch/ia64/kernel/ia64_ksyms.c
+++ b/arch/ia64/kernel/ia64_ksyms.c
@@ -112,3 +112,9 @@ EXPORT_SYMBOL_GPL(esi_call_phys);
#endif
extern char ia64_ivt[];
EXPORT_SYMBOL(ia64_ivt);
+
+#include <asm/ftrace.h>
+#ifdef CONFIG_FUNCTION_TRACER
+/* mcount is defined in assembly */
+EXPORT_SYMBOL(_mcount);
+#endif