summaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/mcount.S
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-01-12 13:30:03 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2016-08-07 23:47:20 -0400
commit711f5df7bf3ae7657e15edf76d671042c051ce95 (patch)
tree98401da88c9c12be546a259b70719a1740ee5027 /arch/s390/kernel/mcount.S
parentd13ffb5630443e6112df0263969cbdfc8ab9ab57 (diff)
downloadlinux-711f5df7bf3ae7657e15edf76d671042c051ce95.tar.bz2
s390: move exports to definitions
Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/s390/kernel/mcount.S')
-rw-r--r--arch/s390/kernel/mcount.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/s390/kernel/mcount.S b/arch/s390/kernel/mcount.S
index e499370fbccb..9a17e4475d27 100644
--- a/arch/s390/kernel/mcount.S
+++ b/arch/s390/kernel/mcount.S
@@ -9,6 +9,7 @@
#include <asm/asm-offsets.h>
#include <asm/ftrace.h>
#include <asm/ptrace.h>
+#include <asm/export.h>
.section .kprobes.text, "ax"
@@ -23,6 +24,8 @@ ENTRY(ftrace_stub)
ENTRY(_mcount)
br %r14
+EXPORT_SYMBOL(_mcount)
+
ENTRY(ftrace_caller)
.globl ftrace_regs_caller
.set ftrace_regs_caller,ftrace_caller