diff options
author | Roland McGrath <roland@hack.frob.com> | 2014-03-14 10:44:34 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2014-03-14 11:32:51 -0700 |
commit | 498a22333b835a598ccaed4656e97a0ec3573665 (patch) | |
tree | f02f8e2d4dcf1a93467f0747c56af83c74300101 /nptl/sysdeps/s390/tls.h | |
parent | c7de50250367167d8c9f35594b264f6a0af8dd0c (diff) | |
download | glibc-498a22333b835a598ccaed4656e97a0ec3573665.tar.gz |
Compile with -Wundef.
Diffstat (limited to 'nptl/sysdeps/s390/tls.h')
-rw-r--r-- | nptl/sysdeps/s390/tls.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/nptl/sysdeps/s390/tls.h b/nptl/sysdeps/s390/tls.h index d81019e4d3..2019882f2c 100644 --- a/nptl/sysdeps/s390/tls.h +++ b/nptl/sysdeps/s390/tls.h @@ -73,9 +73,6 @@ typedef struct /* Get system call information. */ # include <sysdep.h> -/* Get the thread descriptor definition. */ -# include <nptl/descr.h> - /* This is the size of the initial TCB. Can't be just sizeof (tcbhead_t), because NPTL getpid, __libc_alloca_cutoff etc. need (almost) the whole struct pthread even when not linked with -lpthread. */ @@ -93,6 +90,10 @@ typedef struct /* The TCB can have any size and the memory following the address the thread pointer points to is unspecified. Allocate the TCB there. */ # define TLS_TCB_AT_TP 1 +# define TLS_DTV_AT_TP 0 + +/* Get the thread descriptor definition. */ +# include <nptl/descr.h> /* Install the dtv pointer. The pointer passed is to the element with |