Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update.
	* sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
	(__lll_mutex_timedlock_wait): Preserve r8 and r9 since the
	vgettimeofday call miht destroy the content.
  • Loading branch information
Ulrich Drepper committed Mar 24, 2004
1 parent 7fe1586 commit 565699e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nptl/ChangeLog
@@ -1,5 +1,9 @@
2004-03-23 Ulrich Drepper <drepper@redhat.com>

* sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
(__lll_mutex_timedlock_wait): Preserve r8 and r9 since the
vgettimeofday call miht destroy the content.

* sysdeps/ia64/pthread_spin_lock.c (pthread_spin_lock): Use hint
@pause in the loop.

Expand Down
4 changes: 4 additions & 0 deletions nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
Expand Up @@ -78,6 +78,8 @@ __lll_mutex_timedlock_wait:
cmpq $1000000000, 8(%rdx)
jae 3f

pushq %r8
pushq %r9
pushq %r12
pushq %r13
pushq %r14
Expand Down Expand Up @@ -142,6 +144,8 @@ __lll_mutex_timedlock_wait:
popq %r14
popq %r13
popq %r12
popq %r9
popq %r8
retq

/* Check whether the time expired. */
Expand Down

0 comments on commit 565699e

Please sign in to comment.