diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2016-03-16 21:36:06 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-04-11 20:30:41 +1000 |
commit | b4c6afdc3a1ad73542c8e92220c30b8f953c51de (patch) | |
tree | 195d4b857b2d8882d9d815269e6ee82529d2863c /arch/powerpc/lib | |
parent | b05fac783a75c6e9f3af2ce0824f3a6ff12540ab (diff) | |
download | linux-b4c6afdc3a1ad73542c8e92220c30b8f953c51de.tar.bz2 |
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')
-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 |