summaryrefslogtreecommitdiffstats
path: root/patches/glibc-2.23/0500-ARM-fix-PI-futex-breakge-glibc-bug-18463.patch
blob: 447cdfaad6529d3b41e239f25eca05b6391ae929 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
From: Marc Kleine-Budde <mkl@pengutronix.de>
Date: Sat, 13 Jun 2015 19:25:07 +0200
Subject: [PATCH] ARM: fix PI futex breakge - glibc bug 18463

This patch fixes glibc bug 18463:

    https://sourceware.org/bugzilla/show_bug.cgi?id=18463

The problem is caused by:

    47c5adebd2c8 Correct robust mutex / PI futex kernel assumptions (bug 9894).

An alternative approach to this bug is to switch to the new condvar
implementation from Torvald Riegel
(https://sourceware.org/ml/libc-alpha/2015-02/msg00578.html). Until glibc
upstream does so, this patch has probably to be ported to new glibc releases.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
---
 sysdeps/unix/sysv/linux/arm/kernel-features.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sysdeps/unix/sysv/linux/arm/kernel-features.h b/sysdeps/unix/sysv/linux/arm/kernel-features.h
index 6f1606c83305..aeaceedcfc9d 100644
--- a/sysdeps/unix/sysv/linux/arm/kernel-features.h
+++ b/sysdeps/unix/sysv/linux/arm/kernel-features.h
@@ -39,6 +39,5 @@
    configuration.  */
 #if __LINUX_KERNEL_VERSION < 0x030E03
 # undef __ASSUME_FUTEX_LOCK_PI
-# undef __ASSUME_REQUEUE_PI
 # undef __ASSUME_SET_ROBUST_LIST
 #endif