(lll_trylock): Initialize %eax to zero.
authorUlrich Drepper <drepper@redhat.com>
Mon, 10 Mar 2003 08:51:08 +0000 (08:51 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 10 Mar 2003 08:51:08 +0000 (08:51 +0000)
nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h

index c073a83..884c8e8 100644 (file)
@@ -145,7 +145,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" (1)                        \
+                      : "r" (0), "1" (futex), "0" (0)                        \
                       : "memory");                                           \
      ret; })