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: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79121ea9f098934850347eeed3857ffd836810c3;p=linux-2.6 [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 ee6bf27534..9505d9f4be 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__(