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