From: Ulrich Drepper Date: Mon, 10 Mar 2003 09:10:30 +0000 (+0000) Subject: (lll_trylock): Initialize %eax to zero. X-Git-Tag: upstream/2.30~19857 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9921a880001f11280c8e165310ce8f65eecd5a42;p=external%2Fglibc.git (lll_trylock): Initialize %eax to zero. --- diff --git a/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h b/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h index 6ffc41f..a4d0fab 100644 --- a/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h +++ b/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h @@ -192,7 +192,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" (1), \ + : "r" (0), "1" (futex), "0" (0), \ "i" (offsetof (tcbhead_t, multiple_threads)) \ : "memory"); \ ret; })