aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-03-11 00:49:38 +0000
committerUlrich Drepper <drepper@redhat.com>2003-03-11 00:49:38 +0000
commit3273832c67441e2edf8e5b2e4262533c5748aca1 (patch)
tree6860f15dca8ad13a03a46a6967431260c04364ad
parent51f32ab8832a408385b66ccd61da20087f6e2c7b (diff)
downloadglibc-3273832c67441e2edf8e5b2e4262533c5748aca1.tar
glibc-3273832c67441e2edf8e5b2e4262533c5748aca1.tar.gz
glibc-3273832c67441e2edf8e5b2e4262533c5748aca1.tar.bz2
glibc-3273832c67441e2edf8e5b2e4262533c5748aca1.zip
Update.
* sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S (__lll_timedwait_tid): Remove one unnecessary instruction.
-rw-r--r--nptl/ChangeLog3
-rw-r--r--nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S4
2 files changed, 4 insertions, 3 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index 895d552ce5..7775de7feb 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -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
diff --git a/nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S b/nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S
index 611eb335b5..adb18e6e33 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