ce426f
commit 7f786dc12bd60f0a134e538429fef98350e4c814
ce426f
Author: Torvald Riegel <triegel@redhat.com>
ce426f
Date:   Mon Dec 15 22:09:55 2014 +0100
ce426f
ce426f
    Fix nptl/tst-mutex5.c: Do not skip tests if elision is enabled.
ce426f
Index: glibc-2.17-c758a686/nptl/tst-mutex5.c
ce426f
===================================================================
ce426f
--- glibc-2.17-c758a686.orig/nptl/tst-mutex5.c
ce426f
+++ glibc-2.17-c758a686/nptl/tst-mutex5.c
ce426f
@@ -86,8 +86,6 @@ do_test (void)
ce426f
       return 1;
ce426f
     }
ce426f
 
ce426f
-  /* Elided locks do not time out.  */
ce426f
-#ifndef ENABLE_LOCK_ELISION
ce426f
   if (pthread_mutex_trylock (&m) == 0)
ce426f
     {
ce426f
       puts ("mutex_trylock succeeded");
ce426f
@@ -183,7 +181,6 @@ do_test (void)
ce426f
       puts ("3rd timedlock didn't return right away");
ce426f
       return 1;
ce426f
     }
ce426f
-#endif
ce426f
 
ce426f
   if (pthread_mutex_unlock (&m) != 0)
ce426f
     {