Update.
authorUlrich Drepper <drepper@redhat.com>
Tue, 11 Mar 2003 00:49:38 +0000 (00:49 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 11 Mar 2003 00:49:38 +0000 (00:49 +0000)
* sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S
(__lll_timedwait_tid): Remove one unnecessary instruction.

nptl/ChangeLog
nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S

index 895d552..7775de7 100644 (file)
@@ -1,5 +1,8 @@
 2003-03-10  Ulrich Drepper  <drepper@redhat.com>
 
+       * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S
+       (__lll_timedwait_tid): Remove one unnecessary instruction.
+
        * sysdeps/unix/sysv/linux/sh/lowlevelmutex.S: Define
        __lll_mutex_timedlock_wait only for NOT_IN_libc.
        * sysdeps/unix/sysv/linux/sh/libc-lowlevelmutex.S: Include
index 611eb33..adb18e6 100644 (file)
@@ -162,8 +162,6 @@ __lll_timedwait_tid:
        movl    $SYS_futex, %eax
        ENTER_KERNEL
 
-       movl    %eax, %edx
-
        cmpl    $0, (%ebx)
        jne     1f
 4:     xorl    %eax, %eax
@@ -175,7 +173,7 @@ __lll_timedwait_tid:
        popl    %edi
        ret
 
-1:     cmpl    $-ETIMEDOUT, %edx
+1:     cmpl    $-ETIMEDOUT, %eax
        jne     2b
 6:     movl    $ETIMEDOUT, %eax
        jmp     3b