summaryrefslogtreecommitdiffstats
path: root/arch/parisc/include/asm/string.h
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2021-08-27 20:42:57 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2021-08-29 10:13:32 -0700
commitf6a3308d6feb351d9854eb8b3f6289a1ac163125 (patch)
tree692b16ead1d3521b2ea8a90dcc381ed049dc3918 /arch/parisc/include/asm/string.h
parent3f5ad13cb012939e1797ec9cdf43941c169216d2 (diff)
Revert "parisc: Add assembly implementations for memset, strlen, strcpy, strncpy and strcat"
This reverts commit 83af58f8068ea3f7b3c537c37a30887bfa585069. It turns out that at least the assembly implementation for strncpy() was buggy. Revert the whole commit and return back to the default coding. Signed-off-by: Helge Deller <deller@gmx.de> Cc: <stable@vger.kernel.org> # v5.4+ Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/parisc/include/asm/string.h')
-rw-r--r--arch/parisc/include/asm/string.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/arch/parisc/include/asm/string.h b/arch/parisc/include/asm/string.h
index 4a0c9dbd62fd..f6e1132f4e35 100644
--- a/arch/parisc/include/asm/string.h
+++ b/arch/parisc/include/asm/string.h
@@ -8,19 +8,4 @@ extern void * memset(void *, int, size_t);
#define __HAVE_ARCH_MEMCPY
void * memcpy(void * dest,const void *src,size_t count);
-#define __HAVE_ARCH_STRLEN
-extern size_t strlen(const char *s);
-
-#define __HAVE_ARCH_STRCPY
-extern char *strcpy(char *dest, const char *src);
-
-#define __HAVE_ARCH_STRNCPY
-extern char *strncpy(char *dest, const char *src, size_t count);
-
-#define __HAVE_ARCH_STRCAT
-extern char *strcat(char *dest, const char *src);
-
-#define __HAVE_ARCH_MEMSET
-extern void *memset(void *, int, size_t);
-
#endif