about summary refs log tree commit diff
path: root/nptl/allocatestack.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-05-26 20:13:27 +0000
committerUlrich Drepper <drepper@redhat.com>2007-05-26 20:13:27 +0000
commit6df7ffad195864a5c28d9d24093866e919ef0494 (patch)
tree02d6096090d896d537fc60d5047af0da0bc0772b /nptl/allocatestack.c
parentd8ff3792a8020ff25b703109a763161236cfa8dd (diff)
downloadglibc-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.c5
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