diff options
author | Ulrich Drepper <drepper@redhat.com> | 2007-05-26 20:13:27 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2007-05-26 20:13:27 +0000 |
commit | 6df7ffad195864a5c28d9d24093866e919ef0494 (patch) | |
tree | 02d6096090d896d537fc60d5047af0da0bc0772b /nptl/allocatestack.c | |
parent | d8ff3792a8020ff25b703109a763161236cfa8dd (diff) | |
download | glibc-6df7ffad195864a5c28d9d24093866e919ef0494.tar.gz glibc-6df7ffad195864a5c28d9d24093866e919ef0494.tar.xz glibc-6df7ffad195864a5c28d9d24093866e919ef0494.zip |
* sysdeps/unix/sysv/linux/powerpc/libc-start.c: Include <sysdep.h>.
Diffstat (limited to 'nptl/allocatestack.c')
-rw-r--r-- | nptl/allocatestack.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nptl/allocatestack.c b/nptl/allocatestack.c index 4ac04dbfa1..aad157a9f9 100644 --- a/nptl/allocatestack.c +++ b/nptl/allocatestack.c @@ -376,9 +376,10 @@ allocate_stack (const struct pthread_attr *attr, struct pthread **pdp, __pthread_multiple_threads = *__libc_multiple_threads_ptr = 1; #endif -#ifdef THREAD_COPY_PRIVATE_FUTEX +#ifndef __ASSUME_PRIVATE_FUTEX /* The thread must know when private futexes are supported. */ - THREAD_COPY_PRIVATE_FUTEX (pd); + pd->header.private_futex = THREAD_GETMEM (THREAD_SELF, + header.private_futex); #endif #ifdef NEED_DL_SYSINFO |