Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _ASM_CRIS_STRING_H |
| 2 | #define _ASM_CRIS_STRING_H |
| 3 | |
| 4 | /* the optimized memcpy is in arch/cris/lib/string.c */ |
| 5 | |
| 6 | #define __HAVE_ARCH_MEMCPY |
| 7 | extern void *memcpy(void *, const void *, size_t); |
| 8 | |
| 9 | /* New and improved. In arch/cris/lib/memset.c */ |
| 10 | |
| 11 | #define __HAVE_ARCH_MEMSET |
| 12 | extern void *memset(void *, int, size_t); |
| 13 | |
Jesper Nilsson | 7f2ff23 | 2009-06-10 15:06:55 +0200 | [diff] [blame] | 14 | #ifdef CONFIG_ETRAX_ARCH_V32 |
| 15 | /* For v32 we provide strcmp. */ |
| 16 | #define __HAVE_ARCH_STRCMP |
| 17 | extern int strcmp(const char *s1, const char *s2); |
| 18 | #endif |
| 19 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 20 | #endif |