]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
* sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
authorUlrich Drepper <drepper@redhat.com>
Wed, 30 May 2007 04:22:24 +0000 (04:22 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 30 May 2007 04:22:24 +0000 (04:22 +0000)
(__lll_mutex_unlock_wake): Add back label '1' which went AWOL quite
some time ago.

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

index b757f48df530db65ab7ea1e5ad373b0d5c75a2df..285c3793f83d3b82ab7634fb09235f5329bf5c99 100644 (file)
@@ -1,5 +1,9 @@
 2007-05-29  Ulrich Drepper  <drepper@redhat.com>
 
+       * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
+       (__lll_mutex_unlock_wake): Add back label '1' which went AWOL quite
+       some time ago.
+
        * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Checking
        whether there are more than one thread makes no sense here since
        we only call the slow path if the locks are taken.
index de70b1852ceba5d9d1e4df892799fbb8e256c761..b92fa5c895be0d40e61532e1395c60537a1639a8 100644 (file)
@@ -253,7 +253,8 @@ __lll_mutex_unlock_wake:
        cfi_offset(%rsi, -16)
        cfi_offset(%rdx, -24)
 
-       movl    $0, (%rdi)
+       /* NB: the label '1' is needed by lll_unlock_wake_cb.  */
+1:     movl    $0, (%rdi)
        LOAD_FUTEX_WAKE (%esi)
        movl    $1, %edx        /* Wake one thread.  */
        movl    $SYS_futex, %eax