From 22749d7e82c9fa8a276266b94df1807d23d478c6 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Fri, 5 Jun 2015 12:57:07 +0200 Subject: [PATCH] * config/linux/x86/futex_bits.h (sys_futex0): Cosmetics. From-SVN: r224151 --- libitm/config/linux/x86/futex_bits.h | 5 +++-- 1 file 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 *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; -- 2.30.2