Fix typo in tst-mutex5 ifndef -> ifdef
authorStefan Liebler <stli@linux.vnet.ibm.com>
Mon, 26 May 2014 09:12:44 +0000 (11:12 +0200)
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Mon, 26 May 2014 09:12:44 +0000 (11:12 +0200)
ChangeLog
nptl/tst-mutex5.c

index 027464d..e988e2b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
+
+       * nptl/tst-mutex5 (do_test):
+       Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
+
 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
 
        * benchtests/README: Document 'init' directive.
index 14d3025..a829272 100644 (file)
@@ -87,7 +87,7 @@ do_test (void)
     }
 
   /* Elided locks do not time out.  */
-#ifdef ENABLE_LOCK_ELISION
+#ifndef ENABLE_LOCK_ELISION
   if (pthread_mutex_trylock (&m) == 0)
     {
       puts ("mutex_trylock succeeded");