diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-03-23 08:39:26 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-03-23 08:39:26 +0000 |
commit | 16b06b70b58461cca36a4aa83559cb89385076ce (patch) | |
tree | 5764f095142964161212af4665ab2418a6275254 /nptl/sysdeps/unix | |
parent | 81562526a22a1b0d35c049ca862b6e2b87c6f0bb (diff) | |
download | glibc-16b06b70b58461cca36a4aa83559cb89385076ce.tar.gz glibc-16b06b70b58461cca36a4aa83559cb89385076ce.tar.xz glibc-16b06b70b58461cca36a4aa83559cb89385076ce.zip |
Update.
2004-03-23 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_mutex_trylock): Remove unnecessary setne instruction.
Diffstat (limited to 'nptl/sysdeps/unix')
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h b/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h index e420c3f6ef..9f089f8e6e 100644 --- a/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h +++ b/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h @@ -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) \ |