diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-03-10 09:10:30 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-03-10 09:10:30 +0000 |
commit | 9921a880001f11280c8e165310ce8f65eecd5a42 (patch) | |
tree | bb5f6fecac342d493bcd9731b672cb8d8c06dbad | |
parent | acdcbad95398fb5971aaeea2eb60b5cece31648f (diff) | |
download | glibc-9921a880001f11280c8e165310ce8f65eecd5a42.tar.gz glibc-9921a880001f11280c8e165310ce8f65eecd5a42.tar.xz glibc-9921a880001f11280c8e165310ce8f65eecd5a42.zip |
(lll_trylock): Initialize %eax to zero.
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h b/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h index 6ffc41f97d..a4d0fab684 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; }) |