]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Partially revert "powerpc: Remove duplicate cacheable_memcpy/memzero functions"
authorLEROY Christophe <christophe.leroy@c-s.fr>
Tue, 19 May 2015 10:07:48 +0000 (12:07 +0200)
committerScott Wood <scottwood@freescale.com>
Sat, 8 Aug 2015 03:59:21 +0000 (22:59 -0500)
commitdf087e450d7ddc0b15bd8824206d964720b4f5e4
tree286b45c8cddb75565955fdde547339219cb269f5
parent934628c7e69dc4481011df2c1db86f6be50dad29
Partially revert "powerpc: Remove duplicate cacheable_memcpy/memzero functions"

This partially reverts
commit 'powerpc: Remove duplicate cacheable_memcpy/memzero functions
("b05ae4ee602b7dc90771408ccf0972e1b3801a35")'

Functions cacheable_memcpy/memzero are more efficient than
memcpy/memset as they use the dcbz instruction which avoids refill
of the cacheline with the data that we will overwrite.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/lib/copy_32.S