csky: abiv1: Fixup compile error
authorGuo Ren <guoren@linux.alibaba.com>
Mon, 1 Aug 2022 02:34:24 +0000 (22:34 -0400)
committerGuo Ren <guoren@linux.alibaba.com>
Mon, 1 Aug 2022 02:39:23 +0000 (22:39 -0400)
commit45fef4c4b9c94e86d9c13f0b2e7e71bb32254509
treed3f769ac34b18f724b575934a65086ba6a887056
parentf940dc0f225183ccdba044e87daeeb93398819ad
csky: abiv1: Fixup compile error

  LD      vmlinux.o
arch/csky/lib/string.o: In function `memmove':
string.c:(.text+0x108): multiple definition of `memmove'
lib/string.o:string.c:(.text+0x7e8): first defined here
arch/csky/lib/string.o: In function `memset':
string.c:(.text+0x148): multiple definition of `memset'
lib/string.o:string.c:(.text+0x2ac): first defined here
scripts/Makefile.vmlinux_o:68: recipe for target 'vmlinux.o' failed
make[4]: *** [vmlinux.o] Error 1

Fixes: e4df2d5e852a ("csky: Add C based string functions")
Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
Signed-off-by: Guo Ren <guoren@kernel.org>
Cc: <stable@vger.kernel.org>
arch/csky/abiv1/inc/abi/string.h