Skip to content

Commit

Permalink
powerpc: Make generic_memcpy() private to copy_32.S
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michael Ellerman committed Apr 11, 2016
1 parent b05fac7 commit b4c6afd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/lib/copy_32.S
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b4c6afd

Please sign in to comment.