]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Mon, 22 Sep 2003 16:47:50 +0000 (16:47 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 22 Sep 2003 16:47:50 +0000 (16:47 +0000)
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.

nptl/ChangeLog
nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h

index bbe26fafd17291a2e4e9edd68c52bf421c3097ee..cda72ea2bdd228c0c4a00a880627cc4b8444986a 100644 (file)
@@ -1,3 +1,8 @@
+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.
+
 2003-09-21  Ulrich Drepper  <drepper@redhat.com>
 
        * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Completely revamp the
index 35d132113dffe1002f3715eb0b4f7689a9118c90..900c9cd5b13761a54cad9a834926e19d0e048a60 100644 (file)
@@ -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)