Fix typo in tst-mutex5 ifndef -> ifdef

This commit is contained in:
Stefan Liebler 2014-05-26 11:12:44 +02:00 committed by Andreas Krebbel
parent 15eaf6ffe3
commit f8bdf1f0b6
2 changed files with 6 additions and 1 deletions

View File

@ -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.

View 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");