Commit graph android_kernel_sony_sdm845/include/asm-powerpc/string.h
Message SHA1
[POWERPC] Add hand-coded assembly strcmp
We have an assembly version of strncmp for the bootwrapper, but not
for the kernel, so we end up using the C version in the kernel.  This
takes the strncmp code from the bootup and copies it to the kernel
proper, adding two instructions so it copes correctly with len==0.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>

Steven Rostedt   authored and   Paul Mackerras   commited 2008-04-07 10:03:03 +10:00
0119536cd3
[STRING]: Move strcasecmp/strncasecmp to lib/string.c
We have several platforms using local copies of identical
code.

Signed-off-by: David S. Miller <davem@davemloft.net>

David S. Miller   commited 2007-04-26 01:54:39 -07:00
ded220bd8f
powerpc: fix strncasecmp prototype
It takes a size_t, not an int, as its third argument.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>

Linus Torvalds   commited 2006-03-25 09:41:40 -08:00
3cbb90a9cb
[PATCH] powerpc: Standardize on _ASM_POWERPC header symbol prefix
Standardize on _ASM_POWERPC_... prefix for all #include
exclusion symbols.  Fixup all the non-compilers.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>

jdl@freescale.com   authored and   Paul Mackerras   commited 2005-09-09 22:11:34 +10:00
a37c8875a7
[PATCH] Move all the very similar files to asm-powerpc
They differed in either simple comments or in the protecting ifdefs.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>

Stephen Rothwell   authored and   Paul Mackerras   commited 2005-08-30 13:32:06 +10:00
6f9aa72743
Renamed from include/asm-ppc/string.h (Browse further)