about summary refs log tree commit diff
path: root/nptl/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-03-10 08:51:08 +0000
committerUlrich Drepper <drepper@redhat.com>2003-03-10 08:51:08 +0000
commit4cf82237a1692744d3ade7f32ff58f517fae37c0 (patch)
tree430cb1a37459d132a0282fe1dd489925a6d32c9a /nptl/sysdeps
parentd4f64e1ad7d7836fbd9b01f9c5d410db930c38ce (diff)
downloadglibc-4cf82237a1692744d3ade7f32ff58f517fae37c0.tar.gz
glibc-4cf82237a1692744d3ade7f32ff58f517fae37c0.tar.xz
glibc-4cf82237a1692744d3ade7f32ff58f517fae37c0.zip
(lll_trylock): Initialize %eax to zero.
Diffstat (limited to 'nptl/sysdeps')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h2
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 c073a834a8..884c8e8b05 100644
--- a/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h
+++ b/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h
@@ -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; })