mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-08 14:20:07 +00:00
ia64: add lll_futex_timed_wait_bitset
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
fe1a83aa1c
commit
5243e58568
@ -1,3 +1,8 @@
|
|||||||
|
2013-12-25 Mike Frysinger <vapier@gentoo.org>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h
|
||||||
|
(lll_futex_timed_wait_bitset): Define.
|
||||||
|
|
||||||
2013-12-24 Mike Frysinger <vapier@gentoo.org>
|
2013-12-24 Mike Frysinger <vapier@gentoo.org>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/ia64/ioperm.c: Delete code behind #if 0.
|
* sysdeps/unix/sysv/linux/ia64/ioperm.c: Delete code behind #if 0.
|
||||||
|
@ -89,6 +89,17 @@
|
|||||||
_r10 == -1 ? -_retval : _retval; \
|
_r10 == -1 ? -_retval : _retval; \
|
||||||
})
|
})
|
||||||
|
|
||||||
|
#define lll_futex_timed_wait_bitset(ftx, val, timespec, clockbit, private) \
|
||||||
|
({ \
|
||||||
|
int __op = FUTEX_WAIT_BITSET | (clockbit); \
|
||||||
|
\
|
||||||
|
DO_INLINE_SYSCALL(futex, 4, (long) (ftx), \
|
||||||
|
__lll_private_flag (__op, private), \
|
||||||
|
(int) (val), (long) (timespec), NULL /* Unused. */, \
|
||||||
|
FUTEX_BITSET_MATCH_ANY); \
|
||||||
|
_r10 == -1 ? -_retval : _retval; \
|
||||||
|
})
|
||||||
|
|
||||||
#define lll_futex_wake(ftx, nr, private) \
|
#define lll_futex_wake(ftx, nr, private) \
|
||||||
({ \
|
({ \
|
||||||
DO_INLINE_SYSCALL(futex, 3, (long) (ftx), \
|
DO_INLINE_SYSCALL(futex, 3, (long) (ftx), \
|
||||||
|
Loading…
Reference in New Issue
Block a user