11da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds#ifndef _ASM_CRIS_STRING_H
21da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds#define _ASM_CRIS_STRING_H
31da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds
41da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds/* the optimized memcpy is in arch/cris/lib/string.c */
51da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds
61da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds#define __HAVE_ARCH_MEMCPY
71da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsextern void *memcpy(void *, const void *, size_t);
81da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds
91da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds/* New and improved.  In arch/cris/lib/memset.c */
101da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds
111da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds#define __HAVE_ARCH_MEMSET
121da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldsextern void *memset(void *, int, size_t);
131da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds
147f2ff23db1de53ea8695bb4a7c1cfab88886e3fdJesper Nilsson#ifdef CONFIG_ETRAX_ARCH_V32
157f2ff23db1de53ea8695bb4a7c1cfab88886e3fdJesper Nilsson/* For v32 we provide strcmp.  */
167f2ff23db1de53ea8695bb4a7c1cfab88886e3fdJesper Nilsson#define __HAVE_ARCH_STRCMP
177f2ff23db1de53ea8695bb4a7c1cfab88886e3fdJesper Nilssonextern int strcmp(const char *s1, const char *s2);
187f2ff23db1de53ea8695bb4a7c1cfab88886e3fdJesper Nilsson#endif
197f2ff23db1de53ea8695bb4a7c1cfab88886e3fdJesper Nilsson
201da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds#endif
21