summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/string.h
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-10-22 12:12:47 +0200
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-10-22 12:12:47 +0200
commit67254a403fe14464e25c378591b139cda8cd867f (patch)
tree032f2d6136a69a12a5343630f408cde5594c3cf4 /arch/arm/include/asm/string.h
parentdac4338cdcdff9693f5b6bd4214ad2b1dd263b57 (diff)
downloadbarebox-67254a403fe14464e25c378591b139cda8cd867f.tar.gz
barebox-67254a403fe14464e25c378591b139cda8cd867f.tar.xz
[ARM] move include/asm-arm to arch/arm/include/asm
Move platform independent header files to arch/arm/include/asm, leaving those in asm/arch* and asm/proc* alone. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'arch/arm/include/asm/string.h')
-rw-r--r--arch/arm/include/asm/string.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/include/asm/string.h b/arch/arm/include/asm/string.h
new file mode 100644
index 0000000000..435647abda
--- /dev/null
+++ b/arch/arm/include/asm/string.h
@@ -0,0 +1,13 @@
+#ifndef __ASM_ARM_STRING_H
+#define __ASM_ARM_STRING_H
+
+#ifdef CONFIG_ARM_OPTIMZED_STRING_FUNCTIONS
+
+#define __HAVE_ARCH_MEMCPY
+extern void *memcpy(void *, const void *, __kernel_size_t);
+#define __HAVE_ARCH_MEMSET
+extern void *memset(void *, int, __kernel_size_t);
+
+#endif
+
+#endif