1
0
Fork 0

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>
hifive-unleashed-5.1
Michael Ellerman 2016-03-16 21:36:06 +11:00
parent b05fac783a
commit b4c6afdc3a
1 changed files with 1 additions and 1 deletions

View File

@ -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