Revert last change.
authordrepper <drepper>
Sat, 26 May 2007 20:08:27 +0000 (20:08 +0000)
committerdrepper <drepper>
Sat, 26 May 2007 20:08:27 +0000 (20:08 +0000)
nptl/allocatestack.c

index 4ac04db..aad157a 100644 (file)
@@ -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