25845f
This is needed for i686 which doesn't have futex_timed_wait_bitset.
25845f
25845f
commit 35df5a77f3ad2a35761631928440d2994a9e4bc5
25845f
Author: Carlos O'Donell <carlos@redhat.com>
25845f
Date:   Tue Jun 12 16:17:05 2018 -0400
25845f
25845f
    Fix fallback path in __pthread_mutex_timedlock ().
25845f
    
25845f
    Fix the typo in the fallback path in __pthread_mutex_timedlock ()
25845f
    whic hcalls lll_futex_timed_wait ().  This is only useful for cases
25845f
    where the patch is being backported to older distributions where
25845f
    only lll_futex_timed_wait () is available.
25845f
25845f
Index: glibc-2.17-c758a686/nptl/pthread_mutex_timedlock.c
25845f
===================================================================
25845f
--- glibc-2.17-c758a686.orig/nptl/pthread_mutex_timedlock.c
25845f
+++ glibc-2.17-c758a686/nptl/pthread_mutex_timedlock.c
25845f
@@ -272,7 +272,7 @@ pthread_mutex_timedlock (pthread_mutex_t
25845f
 	  /* Block using the futex.  */
25845f
 #if (!defined __ASSUME_FUTEX_CLOCK_REALTIME \
25845f
      || !defined lll_futex_timed_wait_bitset)
25845f
-	  lll_futex_timed wait (&mutex->__data.__lock, oldval,
25845f
+	  lll_futex_timed_wait (&mutex->__data.__lock, oldval,
25845f
 				&rt, PTHREAD_ROBUST_MUTEX_PSHARED (mutex));
25845f
 #else
25845f
 	  int err = lll_futex_timed_wait_bitset (&mutex->__data.__lock,