about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/x86_64
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2014-07-10 10:57:57 -0700
committerRoland McGrath <roland@hack.frob.com>2014-07-10 10:57:57 -0700
commit887865fcfab05939dabec78f5ad358d0283602d3 (patch)
tree91b4182f7d892a8bb784c8ac9f9caba22117387e /sysdeps/unix/sysv/linux/x86_64
parent585367266923156ac6fb789939a923641ba5aaf4 (diff)
downloadglibc-887865fcfab05939dabec78f5ad358d0283602d3.tar.gz
glibc-887865fcfab05939dabec78f5ad358d0283602d3.tar.xz
glibc-887865fcfab05939dabec78f5ad358d0283602d3.zip
Get rid of lll_robust_trylock.
Diffstat (limited to 'sysdeps/unix/sysv/linux/x86_64')
-rw-r--r--sysdeps/unix/sysv/linux/x86_64/lowlevellock.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h b/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
index c13ca084df..c93c68e64f 100644
--- a/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
+++ b/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
@@ -165,14 +165,6 @@
 		       : "memory");					      \
      ret; })
 
-#define lll_robust_trylock(futex, id) \
-  ({ int ret;								      \
-     __asm __volatile (LOCK_INSTR "cmpxchgl %2, %1"			      \
-		       : "=a" (ret), "=m" (futex)			      \
-		       : "r" (id), "m" (futex),	"0" (LLL_LOCK_INITIALIZER)    \
-		       : "memory");					      \
-     ret; })
-
 #define lll_cond_trylock(futex) \
   ({ int ret;								      \
      __asm __volatile (LOCK_INSTR "cmpxchgl %2, %1"			      \