diff options
author | Andi Kleen <ak@suse.de> | 2006-06-26 07:56:07 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-26 13:48:14 -0400 |
commit | 79121ea9f098934850347eeed3857ffd836810c3 (patch) | |
tree | 282973882b7e138f002c9d9c273896c3e65321d7 /include/asm-x86_64 | |
parent | 0f4fdb7fba0b3ec66df39d0e743e701404161fb8 (diff) |
[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>
Diffstat (limited to 'include/asm-x86_64')
-rw-r--r-- | include/asm-x86_64/string.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-x86_64/string.h b/include/asm-x86_64/string.h index ee6bf275349e..9505d9f4bead 100644 --- a/include/asm-x86_64/string.h +++ b/include/asm-x86_64/string.h | |||
@@ -6,7 +6,8 @@ | |||
6 | /* Written 2002 by Andi Kleen */ | 6 | /* Written 2002 by Andi Kleen */ |
7 | 7 | ||
8 | /* Only used for special circumstances. Stolen from i386/string.h */ | 8 | /* Only used for special circumstances. Stolen from i386/string.h */ |
9 | static inline void * __inline_memcpy(void * to, const void * from, size_t n) | 9 | static __always_inline void * |
10 | __inline_memcpy(void * to, const void * from, size_t n) | ||
10 | { | 11 | { |
11 | unsigned long d0, d1, d2; | 12 | unsigned long d0, d1, d2; |
12 | __asm__ __volatile__( | 13 | __asm__ __volatile__( |