diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-01-14 07:33:46 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-08-08 06:50:09 +0300 |
commit | 9445aa1a3062a75a4d9de78026816ebc941e7b99 (patch) | |
tree | 6ee8ffd4ab14b01e2d692e376d32fe36fefb8220 /arch/powerpc/lib/copy_32.S | |
parent | 4dd1837d7589f468ed109556513f476e7a7f9121 (diff) | |
download | linux-9445aa1a3062a75a4d9de78026816ebc941e7b99.tar.xz |
ppc: move exports to definitions
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/powerpc/lib/copy_32.S')
-rw-r--r-- | arch/powerpc/lib/copy_32.S | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/lib/copy_32.S b/arch/powerpc/lib/copy_32.S index 99f37f24185c..40cce33b08d6 100644 --- a/arch/powerpc/lib/copy_32.S +++ b/arch/powerpc/lib/copy_32.S @@ -12,6 +12,7 @@ #include <asm/cache.h> #include <asm/errno.h> #include <asm/ppc_asm.h> +#include <asm/export.h> #define COPY_16_BYTES \ lwz r7,4(r4); \ @@ -92,6 +93,7 @@ _GLOBAL(memset) subf r6,r0,r6 cmplwi 0,r4,0 bne 2f /* Use normal procedure if r4 is not zero */ +EXPORT_SYMBOL(memset) _GLOBAL(memset_nocache_branch) b 2f /* Skip optimised bloc until cache is enabled */ @@ -216,6 +218,8 @@ _GLOBAL(memcpy) stbu r0,1(r6) bdnz 40b 65: blr +EXPORT_SYMBOL(memcpy) +EXPORT_SYMBOL(memmove) generic_memcpy: srwi. r7,r5,3 @@ -507,3 +511,4 @@ _GLOBAL(__copy_tofrom_user) .long 112b,120b .long 114b,120b .text +EXPORT_SYMBOL(__copy_tofrom_user) |