diff options
author | Uros Bizjak <uros@gcc.gnu.org> | 2015-06-05 12:57:07 +0200 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2015-06-05 12:57:07 +0200 |
commit | 22749d7e82c9fa8a276266b94df1807d23d478c6 (patch) | |
tree | aa2da6c5edeadc01a780066387385e285bfdf695 | |
parent | 6aa54a8b25a99455f8bb69436b5d850bbce0d5ce (diff) | |
download | gcc-22749d7e82c9fa8a276266b94df1807d23d478c6.zip gcc-22749d7e82c9fa8a276266b94df1807d23d478c6.tar.gz gcc-22749d7e82c9fa8a276266b94df1807d23d478c6.tar.bz2 |
* config/linux/x86/futex_bits.h (sys_futex0): Cosmetics.
From-SVN: r224151
-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 e4b70d6..8f7e4fd 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; |