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