From c8538dfe4032c398974e46edef97cac03a9f185f Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Fri, 31 Aug 2012 00:04:26 +0200 Subject: Revert "Store self in __thread variable instead of threadvar" This reverts commit 25260994c812050a5d7addf125cdc90c911ca5c1. Conflicts: sysdeps/l4/hurd/ia32/pt-setup.c sysdeps/l4/hurd/powerpc/pt-setup.c --- pthread/pt-create.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'pthread/pt-create.c') 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); -- cgit v1.2.3