1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00

Get rid of lll_robust_dead.

This commit is contained in:
Roland McGrath
2014-07-10 11:21:54 -07:00
parent 887865fcfa
commit c0c6bac945
17 changed files with 21 additions and 158 deletions

View File

@ -377,21 +377,6 @@ extern int __lll_timedlock_elision (int *futex, short *adapt_count,
})
#define lll_robust_dead(futex, private) \
(void) \
({ int __ignore; \
register int _nr asm ("edx") = 1; \
__asm __volatile (LOCK_INSTR "orl %5, (%2)\n\t" \
LLL_EBX_LOAD \
LLL_ENTER_KERNEL \
LLL_EBX_LOAD \
: "=a" (__ignore) \
: "0" (SYS_futex), LLL_EBX_REG (&(futex)), \
"c" (__lll_private_flag (FUTEX_WAKE, private)), \
"d" (_nr), "i" (FUTEX_OWNER_DIED), \
"i" (offsetof (tcbhead_t, sysinfo))); \
})
#define lll_islocked(futex) \
(futex != LLL_LOCK_INITIALIZER)