aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nptl/ChangeLog3
-rw-r--r--nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelcond.S2
2 files changed, 4 insertions, 1 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index 62744b1e37..c7fdb470e6 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,5 +1,8 @@
2003-01-03 Ulrich Drepper <drepper@redhat.com>
+ * sysdeps/unix/sysv/linux/i386/i486/lowlevelcond.S
+ (condvar_cleanup): Get condvar address from the right place.
+
* atomic.h: Correct definitions of atomic_full_barrier,
atomic_read_barrier, atomic_write_barrier.
diff --git a/nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelcond.S b/nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelcond.S
index 0187bf8253..5afe53d484 100644
--- a/nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelcond.S
+++ b/nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelcond.S
@@ -45,7 +45,7 @@
.type condvar_cleanup, @function
condvar_cleanup:
pushl %ebx
- movl 4(%esp), %ebx
+ movl 8(%esp), %ebx
#if cond_lock != 0
addl $cond_lock, %ebx
#endif