summaryrefslogtreecommitdiff
path: root/arch/sparc/lib/csum_copy.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/csum_copy.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/csum_copy.S')
-rw-r--r--arch/sparc/lib/csum_copy.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sparc/lib/csum_copy.S b/arch/sparc/lib/csum_copy.S
index e566c770a0f6..0ecbafc30fd0 100644
--- a/arch/sparc/lib/csum_copy.S
+++ b/arch/sparc/lib/csum_copy.S
@@ -3,6 +3,8 @@
* Copyright (C) 2005 David S. Miller <davem@davemloft.net>
*/
+#include <asm/export.h>
+
#ifdef __KERNEL__
#define GLOBAL_SPARE %g7
#else
@@ -63,6 +65,7 @@
add %o5, %o4, %o4
.globl FUNC_NAME
+ EXPORT_SYMBOL(FUNC_NAME)
FUNC_NAME: /* %o0=src, %o1=dst, %o2=len, %o3=sum */
LOAD(prefetch, %o0 + 0x000, #n_reads)
xor %o0, %o1, %g1