diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2016-03-16 11:36:06 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-04-11 12:30:41 +0200 |
commit | b4c6afdc3a1ad73542c8e92220c30b8f953c51de (patch) | |
tree | 195d4b857b2d8882d9d815269e6ee82529d2863c /arch/powerpc/lib/copy_32.S | |
parent | powerpc: Remove orphaned asm implementation of abs() (diff) | |
download | linux-b4c6afdc3a1ad73542c8e92220c30b8f953c51de.tar.xz linux-b4c6afdc3a1ad73542c8e92220c30b8f953c51de.zip |
powerpc: Make generic_memcpy() private to copy_32.S
generic_memcpy() is only called from copy_32.S, so there's no reason for
it to be global.
Reported-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/lib/copy_32.S')
-rw-r--r-- | arch/powerpc/lib/copy_32.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/lib/copy_32.S b/arch/powerpc/lib/copy_32.S index c44df2dbedd5..99f37f24185c 100644 --- a/arch/powerpc/lib/copy_32.S +++ b/arch/powerpc/lib/copy_32.S @@ -217,7 +217,7 @@ _GLOBAL(memcpy) bdnz 40b 65: blr -_GLOBAL(generic_memcpy) +generic_memcpy: srwi. r7,r5,3 addi r6,r3,-4 addi r4,r4,-4 |