diff options
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelmutex.S')
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelmutex.S | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelmutex.S b/nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelmutex.S index 3e6a71c1b4..be488a7c05 100644 --- a/nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelmutex.S +++ b/nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelmutex.S @@ -107,7 +107,7 @@ __lll_mutex_timedlock_wait: subl %eax, %edx jns 4f addl $1000000000, %edx - decl %ecx + subl $1, %ecx 4: testl %ecx, %ecx js 5f /* Time is already up. */ @@ -159,9 +159,9 @@ __lll_mutex_unlock_wake: pushl %ecx pushl %edx - movl $FUTEX_WAKE, %ecx movl %eax, %ebx - movl $0, (%ebx) + movl $0, (%eax) + movl $FUTEX_WAKE, %ecx movl $1, %edx /* Wake one thread. */ movl $SYS_futex, %eax ENTER_KERNEL |