diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-09-22 16:47:50 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-09-22 16:47:50 +0000 |
commit | 9d08fbbb29a4a0866b4ff642893c7dd97575b56e (patch) | |
tree | f9911522b76007d14d70500b0fcc4abe29a1215a /nptl/sysdeps/unix/sysv | |
parent | bc1989aad2a5246ea5d216546240609620451f87 (diff) | |
download | glibc-9d08fbbb29a4a0866b4ff642893c7dd97575b56e.tar glibc-9d08fbbb29a4a0866b4ff642893c7dd97575b56e.tar.gz glibc-9d08fbbb29a4a0866b4ff642893c7dd97575b56e.tar.bz2 glibc-9d08fbbb29a4a0866b4ff642893c7dd97575b56e.zip |
Update.
2003-09-22 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't play tricks
like jumping over the lock prefix.
Diffstat (limited to 'nptl/sysdeps/unix/sysv')
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h b/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h index 35d132113d..900c9cd5b1 100644 --- a/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h +++ b/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h @@ -184,7 +184,10 @@ extern int lll_unlock_wake_cb (int *__futex) attribute_hidden; 2 - taken by more users */ -#if defined NOT_IN_libc || defined UP +//#if defined NOT_IN_libc || defined UP +/* According to AMD it is not necessary to play tricks with avoiding the + lock instruction. */ +#if 1 # define lll_trylock(futex) lll_mutex_trylock (futex) # define lll_lock(futex) lll_mutex_lock (futex) # define lll_unlock(futex) lll_mutex_unlock (futex) |