aboutsummaryrefslogtreecommitdiff
path: root/nptl/sysdeps/unix/sysv
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@redhat.com>2009-08-10 08:10:11 -0700
committerUlrich Drepper <drepper@redhat.com>2009-08-10 08:10:11 -0700
commitec4922395b05b428cb2cd17ea8118087e0ed6df4 (patch)
treebabd0b2fcd81ac7d50f554c5a46d3e4e4b3f54e9 /nptl/sysdeps/unix/sysv
parentefa0569d2bfdbb7367fce42b1c99821b85d2d3ba (diff)
downloadglibc-ec4922395b05b428cb2cd17ea8118087e0ed6df4.tar
glibc-ec4922395b05b428cb2cd17ea8118087e0ed6df4.tar.gz
glibc-ec4922395b05b428cb2cd17ea8118087e0ed6df4.tar.bz2
glibc-ec4922395b05b428cb2cd17ea8118087e0ed6df4.zip
Fix check for PI mutex in x86-64 pthread_cond_signal
Register eax contains the syscall number, use a different one instead.
Diffstat (limited to 'nptl/sysdeps/unix/sysv')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S b/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
index 4d001eec7f..d1d83a84f9 100644
--- a/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
+++ b/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
@@ -64,9 +64,9 @@ __pthread_cond_signal:
/* Get the address of the mutex used. */
movq dep_mutex(%r8), %rcx
- movl MUTEX_KIND(%rcx), %eax
- andl $(ROBUST_BIT|PI_BIT), %eax
- cmpl $PI_BIT, %eax
+ movl MUTEX_KIND(%rcx), %r11d
+ andl $(ROBUST_BIT|PI_BIT), %r11d
+ cmpl $PI_BIT, %r11d
je 9f
#ifdef __ASSUME_PRIVATE_FUTEX