mirror of git://sourceware.org/git/glibc.git
* sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
(__lll_mutex_unlock_wake): Add back label '1' which went AWOL quite some time ago.
This commit is contained in:
parent
0154658d3d
commit
fc3f0ccb98
|
|
@ -1,5 +1,9 @@
|
||||||
2007-05-29 Ulrich Drepper <drepper@redhat.com>
|
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
|
* sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Checking
|
||||||
whether there are more than one thread makes no sense here since
|
whether there are more than one thread makes no sense here since
|
||||||
we only call the slow path if the locks are taken.
|
we only call the slow path if the locks are taken.
|
||||||
|
|
|
||||||
|
|
@ -253,7 +253,8 @@ __lll_mutex_unlock_wake:
|
||||||
cfi_offset(%rsi, -16)
|
cfi_offset(%rsi, -16)
|
||||||
cfi_offset(%rdx, -24)
|
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)
|
LOAD_FUTEX_WAKE (%esi)
|
||||||
movl $1, %edx /* Wake one thread. */
|
movl $1, %edx /* Wake one thread. */
|
||||||
movl $SYS_futex, %eax
|
movl $SYS_futex, %eax
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue