Lines 454-469
Link Here
|
454 |
# define __ASSUME_ATFCTS 1 |
454 |
# define __ASSUME_ATFCTS 1 |
455 |
#endif |
455 |
#endif |
456 |
|
456 |
|
457 |
/* Support for inter-process robust mutexes was added in 2.6.17. */ |
457 |
/* Support for inter-process robust mutexes was added in 2.6.17 on i386, |
458 |
#if __LINUX_KERNEL_VERSION >= 0x020611 \ |
458 |
powerpc and s390. It was added in 2.6.18 on s390 and sparc64, 2.6.19 on |
459 |
&& ((!defined __sh__ && !defined __alpha__) \ |
459 |
ia64 and 2.6.23 on sh. */ |
460 |
|| (__LINUX_KERNEL_VERSION >= 0x020613 && defined __sh__) \ |
460 |
#if (__LINUX_KERNEL_VERSION >= 0x020611 && defined __i386__) \ |
461 |
|| (__LINUX_KERNEL_VERSION >= 0x020617 && defined __alpha__)) |
461 |
|| (__LINUX_KERNEL_VERSION >= 0x020611 && defined __powerpc__) \ |
|
|
462 |
|| (__LINUX_KERNEL_VERSION >= 0x020612 && defined __s390__) \ |
463 |
|| (__LINUX_KERNEL_VERSION >= 0x020612 && defined __sparc__ && __arch64__) \ |
464 |
|| (__LINUX_KERNEL_VERSION >= 0x020611 && defined __x86_64__) \ |
465 |
|| (__LINUX_KERNEL_VERSION >= 0x020613 && defined __ia64__) \ |
466 |
|| (__LINUX_KERNEL_VERSION >= 0x020617 && defined __sh__) |
462 |
# define __ASSUME_SET_ROBUST_LIST 1 |
467 |
# define __ASSUME_SET_ROBUST_LIST 1 |
463 |
#endif |
468 |
#endif |
464 |
|
469 |
|
465 |
/* Support for PI futexes was added in 2.6.18. */ |
470 |
/* Support for PI futexes was added in 2.6.18 on i386, powerpc, s390, sparc64 |
466 |
#if __LINUX_KERNEL_VERSION >= 0x020612 |
471 |
x86_64. It was added in 2.6.19 on ia64 and in 2.6.23 on sh. */ |
|
|
472 |
#if (__LINUX_KERNEL_VERSION >= 0x020612 && defined __i386__) \ |
473 |
|| (__LINUX_KERNEL_VERSION >= 0x020612 && defined __powerpc__) \ |
474 |
|| (__LINUX_KERNEL_VERSION >= 0x020612 && defined __s390__) \ |
475 |
|| (__LINUX_KERNEL_VERSION >= 0x020612 && defined __sparc__ && __arch64__) \ |
476 |
|| (__LINUX_KERNEL_VERSION >= 0x020612 && defined __x86_64__) \ |
477 |
|| (__LINUX_KERNEL_VERSION >= 0x020613 && defined __ia64__) \ |
478 |
|| (__LINUX_KERNEL_VERSION >= 0x020617 && defined __sh__) |
467 |
# define __ASSUME_FUTEX_LOCK_PI 1 |
479 |
# define __ASSUME_FUTEX_LOCK_PI 1 |
468 |
#endif |
480 |
#endif |