diff options
Diffstat (limited to 'nptl/allocatestack.c')
-rw-r--r-- | nptl/allocatestack.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/nptl/allocatestack.c b/nptl/allocatestack.c index aad157a9f9..c8c221f4fd 100644 --- a/nptl/allocatestack.c +++ b/nptl/allocatestack.c @@ -516,10 +516,9 @@ allocate_stack (const struct pthread_attr *attr, struct pthread **pdp, __pthread_multiple_threads = *__libc_multiple_threads_ptr = 1; #endif -#ifdef THREAD_COPY_PRIVATE_FUTEX /* The thread must know when private futexes are supported. */ - THREAD_COPY_PRIVATE_FUTEX (pd); -#endif + pd->header.private_futex = THREAD_GETMEM (THREAD_SELF, + header.private_futex); #ifdef NEED_DL_SYSINFO /* Copy the sysinfo value from the parent. */ |