From ec3c438ed7a820fdb66c0ff189a85fd9b976758e Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Sat, 26 Jun 2004 20:58:53 -0700 Subject: [PATCH] i386: uninline memmove Using current gcc CVS I hit a piece of code in which the compiler was emitting a memmove() call. The kernel link failed. Uninline it. Also, move the memcpy and memset exports into memcpy.c. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- include/asm-i386/string.h | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) (limited to 'include') diff --git a/include/asm-i386/string.h b/include/asm-i386/string.h index a14f9f37d9c1..34d5a4180bdb 100644 --- a/include/asm-i386/string.h +++ b/include/asm-i386/string.h @@ -294,24 +294,7 @@ extern void __struct_cpy_bug (void); }) #define __HAVE_ARCH_MEMMOVE -static inline void * memmove(void * dest,const void * src, size_t n) -{ -int d0, d1, d2; -if (dest