aboutsummaryrefslogtreecommitdiff
path: root/nptl
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-06-09 22:49:50 +0000
committerUlrich Drepper <drepper@redhat.com>2003-06-09 22:49:50 +0000
commit5b318f8556255638907de5251e3df225a6cfcdff (patch)
treeb7a70263f76d691d325a44b55cfafbd702eeaf21 /nptl
parentb17203463dc96148641c00fd5eda93fef95475c8 (diff)
downloadglibc-5b318f8556255638907de5251e3df225a6cfcdff.tar
glibc-5b318f8556255638907de5251e3df225a6cfcdff.tar.gz
glibc-5b318f8556255638907de5251e3df225a6cfcdff.tar.bz2
glibc-5b318f8556255638907de5251e3df225a6cfcdff.zip
Update.
(__pthread_cond_signal): Use correct futex pointer in __lll_mutex_lock_wait call. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S
Diffstat (limited to 'nptl')
-rw-r--r--nptl/ChangeLog4
-rw-r--r--nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S4
2 files changed, 6 insertions, 2 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index cd451c83c3..c0b54e0cdd 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,6 +1,10 @@
2003-06-09 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S
+ (__pthread_cond_signal): Use correct futex pointer in
+ __lll_mutex_lock_wait call.
+
+ * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S
(__pthread_cond_signal): Some more tweaks to handle cond_lock!=0.
2003-06-08 Ulrich Drepper <drepper@redhat.com>
diff --git a/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S b/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S
index c89851d373..411a05c9e0 100644
--- a/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S
+++ b/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S
@@ -108,9 +108,9 @@ __pthread_cond_signal:
/* Initial locking failed. */
1:
#if cond_lock == 0
- movl %ebx, %ecx
+ movl %edi, %ecx
#else
- leal cond_lock(%ebx), %ecx
+ leal cond_lock(%edi), %ecx
#endif
call __lll_mutex_lock_wait
jmp 2b