Commit 22749d7e by Uros Bizjak

* config/linux/x86/futex_bits.h (sys_futex0): Cosmetics.

From-SVN: r224151
parent 6aa54a8b
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment