summaryrefslogtreecommitdiffstats
path: root/arch/csky/abiv1/inc
diff options
context:
space:
mode:
authorGuo Ren <ren_guo@c-sky.com>2019-06-28 20:39:46 +0800
committerGuo Ren <ren_guo@c-sky.com>2019-07-19 14:21:36 +0800
commitbdfeb0ccea1a12b58299b95eb0f28e2aa26de4c2 (patch)
tree302f7d99767e5f4a34dc35c7b164258dcd70d8cf /arch/csky/abiv1/inc
parent4e562c11664c0e0e84bb8495894b8637acc1c095 (diff)
downloadlinux-stable-bdfeb0ccea1a12b58299b95eb0f28e2aa26de4c2.tar.gz
linux-stable-bdfeb0ccea1a12b58299b95eb0f28e2aa26de4c2.tar.bz2
linux-stable-bdfeb0ccea1a12b58299b95eb0f28e2aa26de4c2.zip
csky: Fixup abiv1 memset error
Current memset implementation in abiv1 is wrong and it'll cause unalign access. Just remove it and use the generic one. This patch will cause performance degradation and we will improve it with a new design in next patchset. Signed-off-by: Guo Ren <ren_guo@c-sky.com> Cc: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/csky/abiv1/inc')
-rw-r--r--arch/csky/abiv1/inc/abi/string.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/csky/abiv1/inc/abi/string.h b/arch/csky/abiv1/inc/abi/string.h
index 5abe80be044d..0cd43384f8d2 100644
--- a/arch/csky/abiv1/inc/abi/string.h
+++ b/arch/csky/abiv1/inc/abi/string.h
@@ -7,7 +7,4 @@
#define __HAVE_ARCH_MEMCPY
extern void *memcpy(void *, const void *, __kernel_size_t);
-#define __HAVE_ARCH_MEMSET
-extern void *memset(void *, int, __kernel_size_t);
-
#endif /* __ABI_CSKY_STRING_H */