diff options
author | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-06-05 10:57:07 +0000 |
---|---|---|
committer | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-06-05 10:57:07 +0000 |
commit | 0ea7cdf701d6084984237858ec8106c6c90302c0 (patch) | |
tree | aa2da6c5edeadc01a780066387385e285bfdf695 /libitm | |
parent | 2f54ec01836310dc7009248d6e1bb4ace65cb5a8 (diff) | |
download | gcc-0ea7cdf701d6084984237858ec8106c6c90302c0.tar.gz |
* config/linux/x86/futex_bits.h (sys_futex0): Cosmetics.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@224151 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libitm')
-rw-r--r-- | libitm/config/linux/x86/futex_bits.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libitm/config/linux/x86/futex_bits.h b/libitm/config/linux/x86/futex_bits.h index e4b70d6f0ec..8f7e4fd3e8c 100644 --- 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; |