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