about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-03-10 19:36:23 +0000
committerUlrich Drepper <drepper@redhat.com>2003-03-10 19:36:23 +0000
commit8969b769c06c6baa295d6c15d4b28caf25660f57 (patch)
tree8ac69d873ff1ca85afe0ef43c435ceee87406c3e
parentce2290cba4f0a974cc70172978e29e96c68a0de8 (diff)
downloadglibc-8969b769c06c6baa295d6c15d4b28caf25660f57.tar.gz
glibc-8969b769c06c6baa295d6c15d4b28caf25660f57.tar.xz
glibc-8969b769c06c6baa295d6c15d4b28caf25660f57.zip
(lll_trylock): Undo last changed. D'oh.
-rw-r--r--nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h b/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h
index a4d0fab684..e338cfa811 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" (0)			      \
+		       : "r" (0), "1" (futex), "0" (1)			      \
 		       : "memory");					      \
      ret; })
 
@@ -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" (0),			      \
+		       : "r" (0), "1" (futex), "0" (1),			      \
 		         "i" (offsetof (tcbhead_t, multiple_threads))	      \
 		       : "memory");					      \
      ret; })