about summary refs log tree commit diff
path: root/nptl/allocatestack.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2014-10-17 15:03:00 -0700
committerRoland McGrath <roland@hack.frob.com>2014-10-17 15:03:00 -0700
commit674b89786e04a4addc79d70e025848f1e0116a41 (patch)
treef74ab3ca737fbdf509e9cb02dac99bddda136f30 /nptl/allocatestack.c
parent184ee94010786a9e0952aff3af39eba1d72287d3 (diff)
downloadglibc-674b89786e04a4addc79d70e025848f1e0116a41.tar.gz
glibc-674b89786e04a4addc79d70e025848f1e0116a41.tar.xz
glibc-674b89786e04a4addc79d70e025848f1e0116a41.zip
NPTL: Clean up THREAD_SYSINFO macros.
Diffstat (limited to 'nptl/allocatestack.c')
-rw-r--r--nptl/allocatestack.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/nptl/allocatestack.c b/nptl/allocatestack.c
index b19d9b3e95..8cf0274ca1 100644
--- a/nptl/allocatestack.c
+++ b/nptl/allocatestack.c
@@ -430,8 +430,7 @@ allocate_stack (const struct pthread_attr *attr, struct pthread **pdp,
 #endif
 
 #ifdef NEED_DL_SYSINFO
-      /* Copy the sysinfo value from the parent.  */
-      THREAD_SYSINFO(pd) = THREAD_SELF_SYSINFO;
+      SETUP_THREAD_SYSINFO (pd);
 #endif
 
       /* The process ID is also the same as that of the caller.  */
@@ -567,8 +566,7 @@ allocate_stack (const struct pthread_attr *attr, struct pthread **pdp,
 #endif
 
 #ifdef NEED_DL_SYSINFO
-	  /* Copy the sysinfo value from the parent.  */
-	  THREAD_SYSINFO(pd) = THREAD_SELF_SYSINFO;
+	  SETUP_THREAD_SYSINFO (pd);
 #endif
 
 	  /* Don't allow setxid until cloned.  */