summaryrefslogtreecommitdiffstats
path: root/arch/metag/include/asm/string.h
diff options
context:
space:
mode:
authorJames Hogan2012-10-05 18:02:09 +0200
committerJames Hogan2013-03-02 21:09:52 +0100
commit086e9dc0e2ca925b1b58caefd04ed2757d14790b (patch)
treecfe182f1d07d40d09d2cae09e337423462250cac /arch/metag/include/asm/string.h
parentmetag: DMA (diff)
downloadkernel-qcow2-linux-086e9dc0e2ca925b1b58caefd04ed2757d14790b.tar.gz
kernel-qcow2-linux-086e9dc0e2ca925b1b58caefd04ed2757d14790b.tar.xz
kernel-qcow2-linux-086e9dc0e2ca925b1b58caefd04ed2757d14790b.zip
metag: Optimised library functions
Add optimised library functions for metag. Signed-off-by: James Hogan <james.hogan@imgtec.com>
Diffstat (limited to 'arch/metag/include/asm/string.h')
-rw-r--r--arch/metag/include/asm/string.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/metag/include/asm/string.h b/arch/metag/include/asm/string.h
new file mode 100644
index 000000000000..53e3806eee04
--- /dev/null
+++ b/arch/metag/include/asm/string.h
@@ -0,0 +1,13 @@
+#ifndef _METAG_STRING_H_
+#define _METAG_STRING_H_
+
+#define __HAVE_ARCH_MEMSET
+extern void *memset(void *__s, int __c, size_t __count);
+
+#define __HAVE_ARCH_MEMCPY
+void *memcpy(void *__to, __const__ void *__from, size_t __n);
+
+#define __HAVE_ARCH_MEMMOVE
+extern void *memmove(void *__dest, __const__ void *__src, size_t __n);
+
+#endif /* _METAG_STRING_H_ */