projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
685e40b
)
fix typo in x86_64 part of syscall overhaul
author
Rich Felker
<dalias@aerifal.cx>
Sun, 20 Mar 2011 01:50:20 +0000
(21:50 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Sun, 20 Mar 2011 01:50:20 +0000
(21:50 -0400)
arch/x86_64/bits/syscall.h
patch
|
blob
|
history
diff --git
a/arch/x86_64/bits/syscall.h
b/arch/x86_64/bits/syscall.h
index c6f12230e9e4bd58cef9d54eeef50e90e822fac6..d18edece31a06b56403e195967f806abe764aaab 100644
(file)
--- a/
arch/x86_64/bits/syscall.h
+++ b/
arch/x86_64/bits/syscall.h
@@
-43,7
+43,7
@@
static inline long __syscall5(long __n, long __a1, long __a2, long __a3, long __
{
unsigned long __ret;
register long __r10 __asm__("r10") = __a4;
- register long
__
r8 __asm__("r8") = __a5;
+ register long
__
r8 __asm__("r8") = __a5;
__asm__ __volatile__ ("syscall" : "=a"(__ret) : "a"(__n), "D"(__a1), "S"(__a2),
"d"(__a3), "r"(__r10), "r"(__r8) : "rcx", "r11", "memory");
return __ret;