From: Uros Bizjak Date: Fri, 5 Jun 2015 10:57:07 +0000 (+0200) Subject: * config/linux/x86/futex_bits.h (sys_futex0): Cosmetics. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=22749d7e82c9fa8a276266b94df1807d23d478c6;p=gcc.git * config/linux/x86/futex_bits.h (sys_futex0): Cosmetics. From-SVN: r224151 --- 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;