aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/asm-cris/string.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-cris/string.h')
-rw-r--r--include/asm-cris/string.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/asm-cris/string.h b/include/asm-cris/string.h
new file mode 100644
index 000000000000..691190e99a27
--- /dev/null
+++ b/include/asm-cris/string.h
@@ -0,0 +1,14 @@
+#ifndef _ASM_CRIS_STRING_H
+#define _ASM_CRIS_STRING_H
+
+/* the optimized memcpy is in arch/cris/lib/string.c */
+
+#define __HAVE_ARCH_MEMCPY
+extern void *memcpy(void *, const void *, size_t);
+
+/* New and improved. In arch/cris/lib/memset.c */
+
+#define __HAVE_ARCH_MEMSET
+extern void *memset(void *, int, size_t);
+
+#endif