summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/kernel/microblaze_ksyms.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/microblaze/kernel/microblaze_ksyms.c')
-rw-r--r--arch/microblaze/kernel/microblaze_ksyms.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/microblaze/kernel/microblaze_ksyms.c b/arch/microblaze/kernel/microblaze_ksyms.c
index 59ff20e33e0c..bc4dcb7d3861 100644
--- a/arch/microblaze/kernel/microblaze_ksyms.c
+++ b/arch/microblaze/kernel/microblaze_ksyms.c
@@ -18,6 +18,7 @@
#include <linux/io.h>
#include <asm/page.h>
#include <asm/system.h>
+#include <linux/ftrace.h>
#include <linux/uaccess.h>
/*
@@ -47,3 +48,7 @@ extern void __umodsi3(void);
EXPORT_SYMBOL(__umodsi3);
extern char *_ebss;
EXPORT_SYMBOL_GPL(_ebss);
+#ifdef CONFIG_FUNCTION_TRACER
+extern void _mcount(void);
+EXPORT_SYMBOL(_mcount);
+#endif
OpenPOWER on IntegriCloud