diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2012-08-31 00:06:31 +0200 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2012-08-31 00:06:31 +0200 |
commit | dd127d39712eaefc173bd41b18af1e35888e9589 (patch) | |
tree | 9f4f892a0564bb9d2bc37ec3062fd8c0bb35be08 /pthread/pt-create.c | |
parent | 0b42b6563aafd3ef4b9dcaaf4f329f72e230afe6 (diff) | |
parent | c8538dfe4032c398974e46edef97cac03a9f185f (diff) |
Merge branch 't/tls-threadvar-pthread_self' into refs/top-bases/tschwinge/Peter_Herbolzheimer
Diffstat (limited to 'pthread/pt-create.c')
-rw-r--r-- | pthread/pt-create.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/pthread/pt-create.c b/pthread/pt-create.c index 4d81a95..ca6b66c 100644 --- a/pthread/pt-create.c +++ b/pthread/pt-create.c @@ -38,12 +38,8 @@ __atomic_t __pthread_total; /* The entry-point for new threads. */ static void -entry_point (struct __pthread *self, void *(*start_routine)(void *), void *arg) +entry_point (void *(*start_routine)(void *), void *arg) { -#ifdef ENABLE_TLS - ___pthread_self = self; -#endif - #ifdef HAVE_USELOCALE /* A fresh thread needs to be bound to the global locale. */ uselocale (LC_GLOBAL_LOCALE); |