Support _HAVE_ARCH_INLINE_MEMCPY. Start with a fall-back to memcpy().

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
---
 include/linux/string.h |    3 +++
 1 file changed, 3 insertions(+)

Index: linux.trees.git/include/linux/string.h
===================================================================
--- linux.trees.git.orig/include/linux/string.h	2010-06-21 18:23:20.000000000 -0400
+++ linux.trees.git/include/linux/string.h	2010-06-21 18:26:10.000000000 -0400
@@ -102,6 +102,9 @@ extern void * memset(void *,int,__kernel
 #ifndef __HAVE_ARCH_MEMCPY
 extern void * memcpy(void *,const void *,__kernel_size_t);
 #endif
+#ifndef __HAVE_ARCH_INLINE_MEMCPY
+#define inline_memcpy memcpy
+#endif
 #ifndef __HAVE_ARCH_MEMMOVE
 extern void * memmove(void *,const void *,__kernel_size_t);
 #endif

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/