diff options
author | Roland McGrath <roland@hack.frob.com> | 2014-12-12 14:00:37 -0800 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2014-12-12 14:00:37 -0800 |
commit | 439c43f6eabcb515b445e2bb03a653ec678f3021 (patch) | |
tree | 84f5759dd4d98a1f6a103b90a7e4680166669670 | |
parent | 48e435cd93fa55ff415b90fbcdf657ded01e45b6 (diff) | |
download | glibc-439c43f6eabcb515b445e2bb03a653ec678f3021.tar.gz glibc-439c43f6eabcb515b445e2bb03a653ec678f3021.tar.xz glibc-439c43f6eabcb515b445e2bb03a653ec678f3021.zip |
Fix NPTL build for !__ASSUME_SET_ROBUST_LIST case.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | nptl/pthread_create.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index b815868543..ea4ebb7842 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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> diff --git a/nptl/pthread_create.c b/nptl/pthread_create.c index 0e96a2ea8f..c4b0726392 100644 --- a/nptl/pthread_create.c +++ b/nptl/pthread_create.c @@ -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); } |