]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Mon, 10 Mar 2003 19:37:46 +0000 (19:37 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 10 Mar 2003 19:37:46 +0000 (19:37 +0000)
* sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_trylock): Fix
register loading.
* sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_trylock): Undo
last changed.  D'oh.

nptl/ChangeLog
nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h

index 4c84cd50d3ce5b3e25016d76ebe374cc481b8a1b..da784502a9b2a85d590b710ddb09d80664c08fd4 100644 (file)
@@ -1,5 +1,10 @@
 2003-03-10  Ulrich Drepper  <drepper@redhat.com>
 
+       * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_trylock): Fix
+       register loading.
+       * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_trylock): Undo
+       last changed.  D'oh.
+
        * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: New file.
 
        * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Remove declaration
index 9e627685da53a04df6f1b475a37ff0c22b7b399c..f574cce7f65fb559577ca624c9b1927f19af4734 100644 (file)
@@ -142,7 +142,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; })
 
@@ -188,7 +188,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)                        \
                       : "memory");                                           \
      ret; })