summaryrefslogtreecommitdiff
path: root/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-03-11 04:07:00 +0000
committerUlrich Drepper <drepper@redhat.com>2003-03-11 04:07:00 +0000
commit2a544d82ce6d7214cf1f95a9b8b814ce40e97253 (patch)
tree565e32b0cafd4e38f05e99e842b170dbbdc279a2 /nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
parentec06436c5b64512d108f63d4d7c3456fced2d503 (diff)
Update.
* sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_mutex_lock_wait): Reverse order of first two parameters. (__lll_mutex_timedlock_wait): Likewise. (lll_mutex_lock): Adjust asm for that. (lll_mutex_timedlock): Likewise. Mark cx, cc, r10 as clobbered. (lll_lock): Adjust asm for operand order change. * sysdeps/unix/sysv/linux/x86_64/lowlevelmutex.S: New file. * sysdeps/unix/sysv/linux/x86_64/libc-lowlevelmutex.S: New file.
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S b/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
index ea9667d956..e7e1707a48 100644
--- a/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
+++ b/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
@@ -127,7 +127,7 @@ __lll_timedwait_tid:
/* Compute relative timeout. */
movq 8(%esp), %rax
movq $1000, %rdi
- mul %rdx /* Milli seconds to nano seconds. */
+ mul %rdi /* Milli seconds to nano seconds. */
movq (%r9), %rdi
movq 8(%r9), %rsi
subq (%rsp), %rdi