From 498a22333b835a598ccaed4656e97a0ec3573665 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 14 Mar 2014 10:44:34 -0700 Subject: Compile with -Wundef. --- nptl/sysdeps/s390/tls.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'nptl/sysdeps/s390/tls.h') diff --git a/nptl/sysdeps/s390/tls.h b/nptl/sysdeps/s390/tls.h index d81019e..2019882 100644 --- a/nptl/sysdeps/s390/tls.h +++ b/nptl/sysdeps/s390/tls.h @@ -73,9 +73,6 @@ typedef struct /* Get system call information. */ # include -/* Get the thread descriptor definition. */ -# include - /* 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 /* Install the dtv pointer. The pointer passed is to the element with -- cgit v1.1