[PATCH] x86_64: Use __always_inline for __inline_memcpy

Inspired from i386 changes

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Andi Kleen 2006-06-26 13:56:07 +02:00 committed by Linus Torvalds
parent 0f4fdb7fba
commit 79121ea9f0
1 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,8 @@
/* Written 2002 by Andi Kleen */ /* Written 2002 by Andi Kleen */
/* Only used for special circumstances. Stolen from i386/string.h */ /* 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; unsigned long d0, d1, d2;
__asm__ __volatile__( __asm__ __volatile__(