[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:
parent
0f4fdb7fba
commit
79121ea9f0
|
@ -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__(
|
||||
|
|
Loading…
Reference in New Issue