summaryrefslogtreecommitdiffstats
path: root/arch/alpha/lib/memcpy.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-01-11 09:51:29 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2016-08-07 23:47:18 -0400
commit00fc0e0dda6286407f3854cd71a125f519a5689c (patch)
tree04bae7f61ab6ac1a705e89f8b739e2d0679f212f /arch/alpha/lib/memcpy.c
parent784d5699eddc55878627da20d3fe0c8542e2f1a2 (diff)
downloadblackbird-op-linux-00fc0e0dda6286407f3854cd71a125f519a5689c.tar.gz
blackbird-op-linux-00fc0e0dda6286407f3854cd71a125f519a5689c.zip
alpha: move exports to actual definitions
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/alpha/lib/memcpy.c')
-rw-r--r--arch/alpha/lib/memcpy.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/alpha/lib/memcpy.c b/arch/alpha/lib/memcpy.c
index 64083fc73238..57d9291ad172 100644
--- a/arch/alpha/lib/memcpy.c
+++ b/arch/alpha/lib/memcpy.c
@@ -16,6 +16,7 @@
*/
#include <linux/types.h>
+#include <linux/export.h>
/*
* This should be done in one go with ldq_u*2/mask/stq_u. Do it
@@ -158,6 +159,4 @@ void * memcpy(void * dest, const void *src, size_t n)
__memcpy_unaligned_up ((unsigned long) dest, (unsigned long) src, n);
return dest;
}
-
-/* For backward modules compatibility, define __memcpy. */
-asm("__memcpy = memcpy; .globl __memcpy");
+EXPORT_SYMBOL(memcpy);
OpenPOWER on IntegriCloud