summaryrefslogtreecommitdiff
path: root/libitm/config
diff options
context:
space:
mode:
authorUros Bizjak <uros@gcc.gnu.org>2015-06-05 12:57:07 +0200
committerUros Bizjak <uros@gcc.gnu.org>2015-06-05 12:57:07 +0200
commit22749d7e82c9fa8a276266b94df1807d23d478c6 (patch)
treeaa2da6c5edeadc01a780066387385e285bfdf695 /libitm/config
parent6aa54a8b25a99455f8bb69436b5d850bbce0d5ce (diff)
downloadgcc-22749d7e82c9fa8a276266b94df1807d23d478c6.tar.gz
* config/linux/x86/futex_bits.h (sys_futex0): Cosmetics.
From-SVN: r224151
Diffstat (limited to 'libitm/config')
-rw-r--r--libitm/config/linux/x86/futex_bits.h5
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;