Skip to content

Commit

Permalink
Fix typo in tst-mutex5 ifndef -> ifdef
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Liebler authored and Andreas Krebbel committed May 26, 2014
1 parent 15eaf6f commit f8bdf1f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion nptl/tst-mutex5.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit f8bdf1f

Please sign in to comment.