summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2016-03-16 21:36:06 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2016-04-11 20:30:41 +1000
commitb4c6afdc3a1ad73542c8e92220c30b8f953c51de (patch)
tree195d4b857b2d8882d9d815269e6ee82529d2863c
parentb05fac783a75c6e9f3af2ce0824f3a6ff12540ab (diff)
downloadop-kernel-dev-b4c6afdc3a1ad73542c8e92220c30b8f953c51de.zip
op-kernel-dev-b4c6afdc3a1ad73542c8e92220c30b8f953c51de.tar.gz
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>
-rw-r--r--arch/powerpc/lib/copy_32.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/lib/copy_32.S b/arch/powerpc/lib/copy_32.S
index c44df2d..99f37f2 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
OpenPOWER on IntegriCloud