Fix NPTL build for !__ASSUME_SET_ROBUST_LIST case.

This commit is contained in:
Roland McGrath 2014-12-12 14:00:37 -08:00
parent 48e435cd93
commit 439c43f6ea
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2014-12-12 Roland McGrath <roland@hack.frob.com>
* nptl/pthread_create.c (START_THREAD_DEFN)
[! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
Adhemerval Zanella <azanella@linux.vnet.ibm.com>

View File

@ -414,7 +414,7 @@ START_THREAD_DEFN
this->__list.__next = NULL;
atomic_or (&this->__lock, FUTEX_OWNER_DIED);
lll_futex_wake (this->__lock, 1, /* XYZ */ LLL_SHARED);
lll_futex_wake (&this->__lock, 1, /* XYZ */ LLL_SHARED);
}
while (robust != (void *) &pd->robust_head);
}