Skip to content

Commit

Permalink
* sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c
Browse files Browse the repository at this point in the history
(__old_sem_wait): Fix argument to lll_futex_wait().
2008-04-14  David S. Miller  <davem@davemloft.net>

	* sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c
	(__old_sem_wait): Fix argument to lll_futex_wait().
  • Loading branch information
Jakub Jelinek committed Apr 15, 2008
1 parent 9e113ec commit 2313c48
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions nptl/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2008-04-14 David S. Miller <davem@davemloft.net>

* sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c
(__old_sem_wait): Fix argument to lll_futex_wait().

2007-11-26 Daniel Jacobowitz <dan@codesourcery.com>

* pthread_create.c: Require pthread_mutex_trylock and
2 changes: 1 addition & 1 deletion nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c
Original file line number Diff line number Diff line change
@@ -155,7 +155,7 @@ __old_sem_wait (sem_t *sem)
/* Enable asynchronous cancellation. Required by the standard. */
int oldtype = __pthread_enable_asynccancel ();

err = lll_futex_wait (futex, 0,
err = lll_futex_wait (&isem->value, 0,
isem->private ^ FUTEX_PRIVATE_FLAG);

/* Disable asynchronous cancellation. */

0 comments on commit 2313c48

Please sign in to comment.