diff options
author | Ulrich Drepper <drepper@redhat.com> | 2007-06-17 16:43:57 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2007-06-17 16:43:57 +0000 |
commit | d4201cc4ba8f499d047f6afba0126cfbf68b7d0b (patch) | |
tree | 289f3f55f347110de194694ddf469caa0fa538d8 /nptl/allocatestack.c | |
parent | 339dbf0e392567a5f14acc81cf94f997b8262b98 (diff) | |
download | glibc-d4201cc4ba8f499d047f6afba0126cfbf68b7d0b.zip glibc-d4201cc4ba8f499d047f6afba0126cfbf68b7d0b.tar.gz glibc-d4201cc4ba8f499d047f6afba0126cfbf68b7d0b.tar.bz2 |
* allocatestack.c (allocate_stack): Make code compile if
__ASSUME_PRIVATE_FUTEX is set.
Diffstat (limited to 'nptl/allocatestack.c')
-rw-r--r-- | nptl/allocatestack.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nptl/allocatestack.c b/nptl/allocatestack.c index 76d75fe..145fe0a 100644 --- a/nptl/allocatestack.c +++ b/nptl/allocatestack.c @@ -516,9 +516,11 @@ allocate_stack (const struct pthread_attr *attr, struct pthread **pdp, __pthread_multiple_threads = *__libc_multiple_threads_ptr = 1; #endif +#ifndef __ASSUME_PRIVATE_FUTEX /* The thread must know when private futexes are supported. */ pd->header.private_futex = THREAD_GETMEM (THREAD_SELF, header.private_futex); +#endif #ifdef NEED_DL_SYSINFO /* Copy the sysinfo value from the parent. */ |