This reverts commit 83af58f806
.
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>
12 lines
247 B
C
12 lines
247 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _PA_STRING_H_
|
|
#define _PA_STRING_H_
|
|
|
|
#define __HAVE_ARCH_MEMSET
|
|
extern void * memset(void *, int, size_t);
|
|
|
|
#define __HAVE_ARCH_MEMCPY
|
|
void * memcpy(void * dest,const void *src,size_t count);
|
|
|
|
#endif
|