From 887865fcfab05939dabec78f5ad358d0283602d3 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 10 Jul 2014 10:57:57 -0700 Subject: Get rid of lll_robust_trylock. --- sysdeps/unix/sysv/linux/x86_64/lowlevellock.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'sysdeps/unix/sysv/linux/x86_64') 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" \ -- cgit 1.4.1