projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6aa54a8
)
* config/linux/x86/futex_bits.h (sys_futex0): Cosmetics.
author
Uros Bizjak
<uros@gcc.gnu.org>
Fri, 5 Jun 2015 10:57:07 +0000
(12:57 +0200)
committer
Uros Bizjak
<uros@gcc.gnu.org>
Fri, 5 Jun 2015 10:57:07 +0000
(12:57 +0200)
From-SVN: r224151
libitm/config/linux/x86/futex_bits.h
patch
|
blob
|
history
diff --git
a/libitm/config/linux/x86/futex_bits.h
b/libitm/config/linux/x86/futex_bits.h
index e4b70d6f0ecb6ea90b5ba4be4fc667c1e02449f2..8f7e4fd3e8c90aa5ab8865be125504f3961c9e1d 100644
(file)
--- a/
libitm/config/linux/x86/futex_bits.h
+++ b/
libitm/config/linux/x86/futex_bits.h
@@
-30,12
+30,13
@@
static inline long
sys_futex0 (std::atomic<int> *addr, int op, int val)
{
- register long r10 __asm__("%r10") = 0;
long res;
+ register long r10 __asm__("%r10") = 0;
__asm volatile ("syscall"
: "=a" (res)
- : "0" (SYS_futex), "D" (addr), "S" (op), "d" (val), "r" (r10)
+ : "0" (SYS_futex), "D" (addr), "S" (op),
+ "d" (val), "r" (r10)
: "r11", "rcx", "memory");
return res;