1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

FUTEX_*_REQUEUE_PI support for non-x86 code

Add FUTEX_*_REQUEUE_PI support for the default C code and also add
implementations for s-390 and ppc.
This commit is contained in:
Siddhesh Poyarekar
2013-02-18 16:07:10 +05:30
parent f78b5caa6e
commit 8313cb997d
10 changed files with 261 additions and 46 deletions

View File

@ -187,6 +187,11 @@
# define __ASSUME_PWRITEV 1
#endif
/* Support for FUTEX_*_REQUEUE_PI was added in 2.6.31. */
#if __LINUX_KERNEL_VERSION >= 0x02061f
# define __ASSUME_REQUEUE_PI 1
#endif
/* Support for F_GETOWN_EX was introduced in 2.6.32. */
#if __LINUX_KERNEL_VERSION >= 0x020620
# define __ASSUME_F_GETOWN_EX 1