]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Tue, 23 Mar 2004 08:39:26 +0000 (08:39 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 23 Mar 2004 08:39:26 +0000 (08:39 +0000)
2004-03-23  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_mutex_trylock):
Remove unnecessary setne instruction.

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

index 243ad921b8cf4e376aae1097135b26606bac0c48..e0439e1fdcdaebfe78fb8ac927e8123aee5e8b16 100644 (file)
@@ -1,3 +1,8 @@
+2004-03-23  Ulrich Drepper  <drepper@redhat.com>
+
+       * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_mutex_trylock):
+       Remove unnecessary setne instruction.
+
 2004-03-22  Jakub Jelinek  <jakub@redhat.com>
 
        * sysdeps/unix/sysv/linux/pthread_getaffinity.c
index e420c3f6ef8f3ff70fa0038e1e39374dd3326eb3..9f089f8e6e952669968205bbd3c60bc4a9b08414 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+/* Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
 
@@ -104,7 +104,7 @@ extern int __lll_mutex_unlock_wake (int *__futex)
 
 #define lll_mutex_trylock(futex) \
   ({ unsigned char ret;                                                              \
-     __asm __volatile (LOCK_INSTR "cmpxchgl %2, %1; setne %0"                \
+     __asm __volatile (LOCK_INSTR "cmpxchgl %2, %1"                          \
                       : "=a" (ret), "=m" (futex)                             \
                       : "r" (LLL_MUTEX_LOCK_INITIALIZER_LOCKED), "m" (futex),\
                         "0" (LLL_MUTEX_LOCK_INITIALIZER)                     \