summaryrefslogtreecommitdiff
path: root/arch/sparc/lib/memcpy.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/memcpy.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/memcpy.S')
-rw-r--r--arch/sparc/lib/memcpy.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sparc/lib/memcpy.S b/arch/sparc/lib/memcpy.S
index 4d8c497517bd..1dc8ec5b6bd9 100644
--- a/arch/sparc/lib/memcpy.S
+++ b/arch/sparc/lib/memcpy.S
@@ -7,6 +7,7 @@
* Copyright (C) 1996 Jakub Jelinek (jj@sunsite.mff.cuni.cz)
*/
+#include <asm/export.h>
#define FUNC(x) \
.globl x; \
.type x,@function; \
@@ -143,8 +144,10 @@ x:
#ifdef __KERNEL__
FUNC(amemmove)
FUNC(__memmove)
+EXPORT_SYMBOL(__memmove)
#endif
FUNC(memmove)
+EXPORT_SYMBOL(memmove)
cmp %o0, %o1
mov %o0, %g7
bleu 9f
@@ -202,6 +205,7 @@ FUNC(memmove)
add %o0, 2, %o0
FUNC(memcpy) /* %o0=dst %o1=src %o2=len */
+EXPORT_SYMBOL(memcpy)
sub %o0, %o1, %o4
mov %o0, %g7