summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/string.h
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2016-05-26 08:38:13 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2016-06-14 13:58:25 +1000
commit3ece16632b64120df2ef566ce32afbdb4aa8af1e (patch)
treefc172067ee4d42a71fd8ec68babd9c4ab00028de /arch/powerpc/include/asm/string.h
parentd96f234f47aff593538f9e3d674967078f56bc28 (diff)
downloadlinux-3ece16632b64120df2ef566ce32afbdb4aa8af1e.tar.bz2
powerpc: Remove assembly versions of strcpy, strcat, strlen and strcmp
A number of our assembly implementations of string functions do not align their hot loops. I was going to align them manually, but I realised that they are are almost instruction for instruction identical to what gcc produces, with the advantage that gcc does align them. In light of that, let's just remove the assembly versions. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/string.h')
-rw-r--r--arch/powerpc/include/asm/string.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/powerpc/include/asm/string.h b/arch/powerpc/include/asm/string.h
index e40010abcaf1..da3cdffca440 100644
--- a/arch/powerpc/include/asm/string.h
+++ b/arch/powerpc/include/asm/string.h
@@ -3,12 +3,8 @@
#ifdef __KERNEL__
-#define __HAVE_ARCH_STRCPY
#define __HAVE_ARCH_STRNCPY
-#define __HAVE_ARCH_STRLEN
-#define __HAVE_ARCH_STRCMP
#define __HAVE_ARCH_STRNCMP
-#define __HAVE_ARCH_STRCAT
#define __HAVE_ARCH_MEMSET
#define __HAVE_ARCH_MEMCPY
#define __HAVE_ARCH_MEMMOVE