From: Andi Kleen Date: Mon, 26 Jun 2006 11:56:07 +0000 (+0200) Subject: [PATCH] x86_64: Use __always_inline for __inline_memcpy X-Git-Tag: v2.6.18-rc1~612^2~80 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=79121ea9f098934850347eeed3857ffd836810c3;p=linux-2.6-omap-h63xx.git [PATCH] x86_64: Use __always_inline for __inline_memcpy Inspired from i386 changes Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds --- diff --git a/include/asm-x86_64/string.h b/include/asm-x86_64/string.h index ee6bf275349..9505d9f4bea 100644 --- a/include/asm-x86_64/string.h +++ b/include/asm-x86_64/string.h @@ -6,7 +6,8 @@ /* Written 2002 by Andi Kleen */ /* Only used for special circumstances. Stolen from i386/string.h */ -static inline void * __inline_memcpy(void * to, const void * from, size_t n) +static __always_inline void * +__inline_memcpy(void * to, const void * from, size_t n) { unsigned long d0, d1, d2; __asm__ __volatile__(