]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] Add hand-coded assembly strcmp
authorSteven Rostedt <rostedt@goodmis.org>
Fri, 29 Feb 2008 16:04:57 +0000 (03:04 +1100)
committerPaul Mackerras <paulus@samba.org>
Mon, 7 Apr 2008 00:03:03 +0000 (10:03 +1000)
commit0119536cd314ef95553604208c25bc35581f7f0a
treec196d0652c5bc6bee252d6628cfd76771b2e9131
parent4df4441e418c809f263939b9f371b67aca28a280
[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>
arch/powerpc/kernel/ppc_ksyms.c
arch/powerpc/lib/string.S
include/asm-powerpc/string.h