linux/arch/powerpc/lib
Andreas Schwab ca5d0674c3 powerpc: Fix string library functions
The powerpc strncmp implementation does not correctly handle a zero
length, despite the claim in 0119536cd3
(Add hand-coded assembly strcmp).

Additionally, all the length arguments are size_t, not int, so use
PPC_LCMPI and eq instead of cmpwi and le throughout.

Signed-off-by: Andreas Schwab <schwab@linux-m68k.org>
Acked-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2010-05-21 17:31:08 +10:00
..
Makefile
alloc.c
checksum_32.S
checksum_64.S
code-patching.c
copy_32.S
copypage_64.S
copyuser_64.S
crtsavres.S
devres.c
div64.S
feature-fixups-test.S
feature-fixups.c
locks.c
mem_64.S
memcpy_64.S
rheap.c
sstep.c
string.S
usercopy_64.c