projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b05fac7
)
powerpc: Make generic_memcpy() private to copy_32.S
author
Michael Ellerman
<mpe@ellerman.id.au>
Wed, 16 Mar 2016 10:36:06 +0000
(21:36 +1100)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Mon, 11 Apr 2016 10:30:41 +0000
(20:30 +1000)
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>
arch/powerpc/lib/copy_32.S
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/lib/copy_32.S
b/arch/powerpc/lib/copy_32.S
index c44df2dbedd52f5a2726443afe5a9296326b3778..99f37f24185ca890127b3e2a1ebed7ed14f4ca55 100644
(file)
--- 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