projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f4fdb7
)
[PATCH] x86_64: Use __always_inline for __inline_memcpy
author
Andi Kleen
<ak@suse.de>
Mon, 26 Jun 2006 11:56:07 +0000
(13:56 +0200)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Mon, 26 Jun 2006 17:48:14 +0000
(10:48 -0700)
Inspired from i386 changes
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-x86_64/string.h
patch
|
blob
|
history
diff --git
a/include/asm-x86_64/string.h
b/include/asm-x86_64/string.h
index
ee6bf27
..
9505d9f
100644
(file)
--- 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__(