aboutsummaryrefslogtreecommitdiff
path: root/nptl/sysdeps
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2007-07-12 14:51:21 +0000
committerJakub Jelinek <jakub@redhat.com>2007-07-12 14:51:21 +0000
commit56928ea4b99b2c9080b0a742f89ffd9a756bccfa (patch)
tree9670559acc29e6eadde7f874d8497e3d1b2c03ab /nptl/sysdeps
parent19cc85872149d2643dcb9ba309bc699b5527012b (diff)
downloadglibc-56928ea4b99b2c9080b0a742f89ffd9a756bccfa.tar
glibc-56928ea4b99b2c9080b0a742f89ffd9a756bccfa.tar.gz
glibc-56928ea4b99b2c9080b0a742f89ffd9a756bccfa.tar.bz2
glibc-56928ea4b99b2c9080b0a742f89ffd9a756bccfa.zip
2007-02-09 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/x86_64/lowlevellock.S (__lll_mutex_timedlock_wait): Use correct pointer when we don't call into the kernel to delay.
Diffstat (limited to 'nptl/sysdeps')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S b/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
index 90f10e6f4f..4497cadd40 100644
--- a/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
+++ b/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
@@ -164,7 +164,7 @@ __lll_mutex_timedlock_wait:
8: /* NB: %edx == 2 */
xorl %eax, %eax
LOCK
- cmpxchgl %edx, (%rdi)
+ cmpxchgl %edx, (%r12)
jnz 7f
6: addq $16, %rsp