summaryrefslogtreecommitdiff
path: root/arch/sparc/lib/mcount.S
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-01-17 05:39:30 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2016-08-08 06:55:43 +0300
commitd3867f0483103b8ff7edfdea3ef1981c03d96891 (patch)
tree233c755ae14aba69aae25ab345abcb6cf4edf466 /arch/sparc/lib/mcount.S
parent9445aa1a3062a75a4d9de78026816ebc941e7b99 (diff)
downloadlinux-d3867f0483103b8ff7edfdea3ef1981c03d96891.tar.xz
sparc: move exports to definitions
Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/sparc/lib/mcount.S')
-rw-r--r--arch/sparc/lib/mcount.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sparc/lib/mcount.S b/arch/sparc/lib/mcount.S
index 0b0ed4d34219..194f383611c0 100644
--- a/arch/sparc/lib/mcount.S
+++ b/arch/sparc/lib/mcount.S
@@ -6,6 +6,7 @@
*/
#include <linux/linkage.h>
+#include <asm/export.h>
/*
* This is the main variant and is called by C code. GCC's -pg option
@@ -16,6 +17,7 @@
.align 32
.globl _mcount
.type _mcount,#function
+ EXPORT_SYMBOL(_mcount)
.globl mcount
.type mcount,#function
_mcount: