25845f
commit d7329d4b4d297b5638aef7fc4d5eaf9ad7845d7a
25845f
Author: Roland McGrath <roland@hack.frob.com>
25845f
Date:   Fri Mar 14 10:46:38 2014 -0700
25845f
25845f
    Fix two stray cases using #ifdef vs #if for TLS_TCB_AT_TP.
25845f
25845f
diff --git a/nptl/pthread_create.c b/nptl/pthread_create.c
25845f
index 9f2016c19f0c8248..1083d6faacca5ab6 100644
25845f
--- a/nptl/pthread_create.c
25845f
+++ b/nptl/pthread_create.c
25845f
@@ -460,7 +460,7 @@ __pthread_create_2_1 (newthread, attr, start_routine, arg)
25845f
      performed in 'get_cached_stack'.  This way we avoid doing this if
25845f
      the stack freshly allocated with 'mmap'.  */
25845f
 
25845f
-#ifdef TLS_TCB_AT_TP
25845f
+#if TLS_TCB_AT_TP
25845f
   /* Reference to the TCB itself.  */
25845f
   pd->header.self = pd;
25845f
 
25845f
diff --git a/nptl/sysdeps/pthread/createthread.c b/nptl/sysdeps/pthread/createthread.c
25845f
index e8e10dcf73ed382d..baa12eb26c80e465 100644
25845f
--- a/nptl/sysdeps/pthread/createthread.c
25845f
+++ b/nptl/sysdeps/pthread/createthread.c
25845f
@@ -146,7 +146,7 @@ static int
25845f
 create_thread (struct pthread *pd, const struct pthread_attr *attr,
25845f
 	       STACK_VARIABLES_PARMS)
25845f
 {
25845f
-#ifdef TLS_TCB_AT_TP
25845f
+#if TLS_TCB_AT_TP
25845f
   assert (pd->header.tcb != NULL);
25845f
 #endif
25845f