about summary refs log tree commit diff
path: root/nptl/sysdeps/x86_64/tls.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2014-03-14 10:44:34 -0700
committerRoland McGrath <roland@hack.frob.com>2014-03-14 11:32:51 -0700
commit498a22333b835a598ccaed4656e97a0ec3573665 (patch)
treef02f8e2d4dcf1a93467f0747c56af83c74300101 /nptl/sysdeps/x86_64/tls.h
parentc7de50250367167d8c9f35594b264f6a0af8dd0c (diff)
downloadglibc-498a22333b835a598ccaed4656e97a0ec3573665.tar.gz
glibc-498a22333b835a598ccaed4656e97a0ec3573665.tar.xz
glibc-498a22333b835a598ccaed4656e97a0ec3573665.zip
Compile with -Wundef.
Diffstat (limited to 'nptl/sysdeps/x86_64/tls.h')
-rw-r--r--nptl/sysdeps/x86_64/tls.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/nptl/sysdeps/x86_64/tls.h b/nptl/sysdeps/x86_64/tls.h
index cbb5e9e5bd..30bd449528 100644
--- a/nptl/sysdeps/x86_64/tls.h
+++ b/nptl/sysdeps/x86_64/tls.h
@@ -92,10 +92,6 @@ typedef struct
 /* Get system call information.  */
 # include <sysdep.h>
 
-
-/* Get the thread descriptor definition.  */
-# include <nptl/descr.h>
-
 #ifndef LOCK_PREFIX
 # ifdef UP
 #  define LOCK_PREFIX	/* nothing */
@@ -121,6 +117,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