diff options
author | Roland McGrath <roland@hack.frob.com> | 2014-07-10 10:57:57 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2014-07-10 10:57:57 -0700 |
commit | 887865fcfab05939dabec78f5ad358d0283602d3 (patch) | |
tree | 91b4182f7d892a8bb784c8ac9f9caba22117387e /sysdeps/unix/sysv/linux/sh | |
parent | 585367266923156ac6fb789939a923641ba5aaf4 (diff) | |
download | glibc-887865fcfab05939dabec78f5ad358d0283602d3.tar.gz glibc-887865fcfab05939dabec78f5ad358d0283602d3.tar.xz glibc-887865fcfab05939dabec78f5ad358d0283602d3.zip |
Get rid of lll_robust_trylock.
Diffstat (limited to 'sysdeps/unix/sysv/linux/sh')
-rw-r--r-- | sysdeps/unix/sysv/linux/sh/lowlevellock.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/sysdeps/unix/sysv/linux/sh/lowlevellock.h b/sysdeps/unix/sysv/linux/sh/lowlevellock.h index 438632d962..fe8374e233 100644 --- a/sysdeps/unix/sysv/linux/sh/lowlevellock.h +++ b/sysdeps/unix/sysv/linux/sh/lowlevellock.h @@ -118,28 +118,6 @@ extern int __lll_unlock_wake (int *__futex, int private) attribute_hidden; : "r0", "r1", "r2", "t", "memory"); \ __result; }) -#define lll_robust_trylock(futex, id) \ - ({ unsigned char __result; \ - __asm __volatile ("\ - .align 2\n\ - mova 1f,r0\n\ - nop\n\ - mov r15,r1\n\ - mov #-8,r15\n\ - 0: mov.l @%1,r2\n\ - cmp/eq r2,%3\n\ - bf 1f\n\ - mov.l %2,@%1\n\ - 1: mov r1,r15\n\ - mov #-1,%0\n\ - negc %0,%0"\ - : "=r" (__result) \ - : "r" (&(futex)), \ - "r" (id), \ - "r" (LLL_LOCK_INITIALIZER) \ - : "r0", "r1", "r2", "t", "memory"); \ - __result; }) - #define lll_cond_trylock(futex) \ ({ unsigned char __result; \ __asm __volatile ("\ |