]> Pileus Git - ~andy/linux/commit
xtensa: fix memmove(), bcopy(), and memcpy().
authorChris Zankel <chris@zankel.net>
Tue, 16 Oct 2012 04:41:19 +0000 (21:41 -0700)
committerChris Zankel <chris@zankel.net>
Tue, 16 Oct 2012 04:41:19 +0000 (21:41 -0700)
commiteae8a416afe140df4b054c448476654db0d46bde
treebd5f48ace717e58d535bb3776c13b70360605f46
parentc88d8df0cc69fe0238f2c805a87cc67fb27a43fe
xtensa: fix memmove(), bcopy(), and memcpy().

- fix memmove to correctly handle overlapping src and dst;
- fix memcpy loop ending conditions from signed '<=' to '!=';
- modify bcopy to call memmove;

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
arch/xtensa/lib/memcopy.S