Commit 6aa54a8b by Uros Bizjak

futex.h (futex_wait): Remove doouble initialization.

	* config/linux/x86/futex.h (futex_wait) [__x86_64__]:
	Remove doouble initialization.

From-SVN: r224150
parent ea4e7872
......@@ -33,10 +33,9 @@
static inline void
futex_wait (int *addr, int val)
{
register long r10 __asm__("%r10");
long res;
r10 = 0;
register long r10 __asm__("%r10") = 0;
__asm volatile ("syscall"
: "=a" (res)
: "0" (SYS_futex), "D" (addr), "S" (gomp_futex_wait),
......@@ -46,7 +45,6 @@ futex_wait (int *addr, int val)
{
gomp_futex_wait &= ~FUTEX_PRIVATE_FLAG;
gomp_futex_wake &= ~FUTEX_PRIVATE_FLAG;
r10 = 0;
__asm volatile ("syscall"
: "=a" (res)
: "0" (SYS_futex), "D" (addr), "S" (gomp_futex_wait),
......
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