summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/kernel/xtensa_ksyms.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/xtensa/kernel/xtensa_ksyms.c')
-rw-r--r--arch/xtensa/kernel/xtensa_ksyms.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/xtensa/kernel/xtensa_ksyms.c b/arch/xtensa/kernel/xtensa_ksyms.c
index 42c53c87c204..d8507f812f46 100644
--- a/arch/xtensa/kernel/xtensa_ksyms.c
+++ b/arch/xtensa/kernel/xtensa_ksyms.c
@@ -124,3 +124,7 @@ extern long common_exception_return;
extern long _spill_registers;
EXPORT_SYMBOL(common_exception_return);
EXPORT_SYMBOL(_spill_registers);
+
+#ifdef CONFIG_FUNCTION_TRACER
+EXPORT_SYMBOL(_mcount);
+#endif
OpenPOWER on IntegriCloud