[S390] use compiler builtin versions of strlen/strcpy/strcat
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 26 Mar 2009 14:24:37 +0000 (15:24 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 26 Mar 2009 14:24:24 +0000 (15:24 +0100)
commit1edad85b16fdda43c8ab809e2779e8bf64ab8bb2
tree45e777718c8fda461c2232f2b74b8dc0a04e4ea6
parent504665a91498f43d220b7d0942281067283a35f7
[S390] use compiler builtin versions of strlen/strcpy/strcat

Use builtin variants if gcc 4 or newer is used to compile the kernel.
Generates better code than the asm variants.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/string.h
arch/s390/lib/string.c