Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / arch / cris / include / asm / string.h
blobbae5a0867785917b4010ffdaadc491ca1839ef0c
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_CRIS_STRING_H
3 #define _ASM_CRIS_STRING_H
5 /* the optimized memcpy is in arch/cris/lib/string.c */
7 #define __HAVE_ARCH_MEMCPY
8 extern void *memcpy(void *, const void *, size_t);
10 /* New and improved. In arch/cris/lib/memset.c */
12 #define __HAVE_ARCH_MEMSET
13 extern void *memset(void *, int, size_t);
15 #ifdef CONFIG_ETRAX_ARCH_V32
16 /* For v32 we provide strcmp. */
17 #define __HAVE_ARCH_STRCMP
18 extern int strcmp(const char *s1, const char *s2);
19 #endif
21 #endif