mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
RISC-V: don't assume PI mutexes and robust futexes before 4.20 (bug 23864)
Support for futex_cmpxchg as only been added to 4.20-rc1.
This commit is contained in:
@ -1,3 +1,10 @@
|
|||||||
|
2018-11-07 Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
|
[BZ #23864]
|
||||||
|
* sysdeps/unix/sysv/linux/riscv/kernel-features.h
|
||||||
|
(__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
|
||||||
|
Undef.
|
||||||
|
|
||||||
2018-11-06 Joseph Myers <joseph@codesourcery.com>
|
2018-11-06 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
[BZ #23862]
|
[BZ #23862]
|
||||||
|
@ -21,3 +21,8 @@
|
|||||||
|
|
||||||
#undef __ASSUME_CLONE_DEFAULT
|
#undef __ASSUME_CLONE_DEFAULT
|
||||||
#define __ASSUME_CLONE_BACKWARDS 1
|
#define __ASSUME_CLONE_BACKWARDS 1
|
||||||
|
|
||||||
|
/* No support for PI mutexes or robust futexes before 4.20. */
|
||||||
|
#if __LINUX_KERNEL_VERSION < 0x041400
|
||||||
|
# undef __ASSUME_SET_ROBUST_LIST
|
||||||
|
#endif
|
||||||
|
Reference in New Issue
Block a user