diff options
author | Roland McGrath <roland@hack.frob.com> | 2014-03-14 10:46:38 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2014-03-14 10:46:38 -0700 |
commit | d7329d4b4d297b5638aef7fc4d5eaf9ad7845d7a (patch) | |
tree | 4f291fd2842bc33caf26b8dc61c4eb79ebde1949 /nptl | |
parent | aa4de9cea5c07d43caeaca9722c2d417e9a2919c (diff) | |
download | glibc-d7329d4b4d297b5638aef7fc4d5eaf9ad7845d7a.tar glibc-d7329d4b4d297b5638aef7fc4d5eaf9ad7845d7a.tar.gz glibc-d7329d4b4d297b5638aef7fc4d5eaf9ad7845d7a.tar.bz2 glibc-d7329d4b4d297b5638aef7fc4d5eaf9ad7845d7a.zip |
Fix two stray cases using #ifdef vs #if for TLS_TCB_AT_TP.
Diffstat (limited to 'nptl')
-rw-r--r-- | nptl/pthread_create.c | 2 | ||||
-rw-r--r-- | nptl/sysdeps/pthread/createthread.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/nptl/pthread_create.c b/nptl/pthread_create.c index cee0806d52..38e69cb496 100644 --- a/nptl/pthread_create.c +++ b/nptl/pthread_create.c @@ -496,7 +496,7 @@ __pthread_create_2_1 (newthread, attr, start_routine, arg) performed in 'get_cached_stack'. This way we avoid doing this if the stack freshly allocated with 'mmap'. */ -#ifdef TLS_TCB_AT_TP +#if TLS_TCB_AT_TP /* Reference to the TCB itself. */ pd->header.self = pd; diff --git a/nptl/sysdeps/pthread/createthread.c b/nptl/sysdeps/pthread/createthread.c index 93f93eebd4..e1856f7b1c 100644 --- a/nptl/sysdeps/pthread/createthread.c +++ b/nptl/sysdeps/pthread/createthread.c @@ -147,7 +147,7 @@ static int create_thread (struct pthread *pd, const struct pthread_attr *attr, STACK_VARIABLES_PARMS) { -#ifdef TLS_TCB_AT_TP +#if TLS_TCB_AT_TP assert (pd->header.tcb != NULL); #endif |