diff options
author | Roland McGrath <roland@hack.frob.com> | 2014-10-17 15:40:36 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2014-10-17 15:40:36 -0700 |
commit | 114c4e0954b6a9f1d8ed83850ef106a041495037 (patch) | |
tree | 3c099fd32ab01d38f33b34e0b22b22a373b62c9a /nptl | |
parent | 674b89786e04a4addc79d70e025848f1e0116a41 (diff) | |
download | glibc-114c4e0954b6a9f1d8ed83850ef106a041495037.tar.gz glibc-114c4e0954b6a9f1d8ed83850ef106a041495037.tar.xz glibc-114c4e0954b6a9f1d8ed83850ef106a041495037.zip |
Remove obsolete TLS_DEFINE_INIT_TP fallback.
Diffstat (limited to 'nptl')
-rw-r--r-- | nptl/createthread.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/nptl/createthread.c b/nptl/createthread.c index 9eaf2ce9c3..0980a7748b 100644 --- a/nptl/createthread.c +++ b/nptl/createthread.c @@ -30,19 +30,6 @@ #define CLONE_SIGNAL (CLONE_SIGHAND | CLONE_THREAD) -/* The <tls.h> header should define the macro TLS_DEFINE_INIT_TP such that: - TLS_DEFINE_INIT_TP (VAR, PD); - Declares and initializes a variable VAR with the value that should - be passed to the OS thread creation function (e.g. clone) to initialize - its TLS state for the 'struct pthread *' PD. */ -#ifndef TLS_DEFINE_INIT_TP -/* For a transitional period while all the <tls.h> implementations are - getting updated, we define it using the old TLS_VALUE macro. */ -# define TLS_DEFINE_INIT_TP(tp, pd) void *tp = TLS_VALUE -# ifndef TLS_VALUE -# define TLS_VALUE pd -# endif -#endif #ifndef ARCH_CLONE # define ARCH_CLONE __clone |