From 4c3c2e8a6e1763ce01211399f63b1a1ce6b16a88 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 10 Mar 2003 19:37:46 +0000 Subject: Update. * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_trylock): Fix register loading. * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_trylock): Undo last changed. D'oh. --- nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h') diff --git a/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h b/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h index 9e627685da..f574cce7f6 100644 --- a/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h +++ b/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h @@ -142,7 +142,7 @@ extern int lll_unlock_wake_cb (int *__futex) attribute_hidden; ({ unsigned char ret; \ __asm __volatile (LOCK_INSTR "cmpxchgl %2, %1; setne %0" \ : "=a" (ret), "=m" (futex) \ - : "r" (0), "1" (futex), "0" (0) \ + : "r" (0), "1" (futex), "0" (1) \ : "memory"); \ ret; }) @@ -188,7 +188,7 @@ extern int lll_unlock_wake_cb (int *__futex) attribute_hidden; "lock\n" \ "0:\tcmpxchgl %2, %1; setne %0" \ : "=a" (ret), "=m" (futex) \ - : "r" (0), "1" (futex), "0" (0) \ + : "r" (0), "1" (futex), "0" (1) \ : "memory"); \ ret; }) -- cgit 1.4.1