From: Ulrich Drepper Date: Tue, 11 Mar 2003 00:49:38 +0000 (+0000) Subject: Update. X-Git-Tag: cvs/glibc-2_3_3~1292 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3273832c67441e2edf8e5b2e4262533c5748aca1;p=thirdparty%2Fglibc.git Update. * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S (__lll_timedwait_tid): Remove one unnecessary instruction. --- diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 895d552ce59..7775de7febf 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,5 +1,8 @@ 2003-03-10 Ulrich Drepper + * 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 diff --git a/nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S b/nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S index 611eb335b50..adb18e6e33c 100644 --- a/nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S +++ b/nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S @@ -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