diff options
author | Thomas Schwinge <tschwinge@gnu.org> | 2008-11-23 21:17:41 +0100 |
---|---|---|
committer | Thomas Schwinge <thomas@schwinge.name> | 2010-01-25 21:40:49 +0100 |
commit | c1c2b810c848f6ef082fa8cfb2bf501b850f0797 (patch) | |
tree | d829fab378ba5959b4e249033fb1f910de8be57a /hurd/hurdsig.c | |
parent | 9bd608be06fc824cffd42ab8a81b210d4ef52a91 (diff) |
glibc-2.8/debian/patches/hurd-i386/local-tls-support.diff 3151
Diffstat (limited to 'hurd/hurdsig.c')
-rw-r--r-- | hurd/hurdsig.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hurd/hurdsig.c b/hurd/hurdsig.c index 27050c99d9..f89fd79dcf 100644 --- a/hurd/hurdsig.c +++ b/hurd/hurdsig.c @@ -1267,6 +1267,8 @@ _hurdsig_init (const int *intarray, size_t intarraysize) (vm_address_t *) &__hurd_sigthread_stack_base, &stacksize); assert_perror (err); + err = __mach_setup_tls (_hurd_msgport_thread); + assert_perror (err); __hurd_sigthread_stack_end = __hurd_sigthread_stack_base + stacksize; __hurd_sigthread_variables = @@ -1275,8 +1277,6 @@ _hurdsig_init (const int *intarray, size_t intarraysize) __libc_fatal ("hurd: Can't allocate threadvars for signal thread\n"); memset (__hurd_sigthread_variables, 0, __hurd_threadvar_max * sizeof (unsigned long int)); - __hurd_sigthread_variables[_HURD_THREADVAR_LOCALE] - = (unsigned long int) &_nl_global_locale; /* Reinitialize the MiG support routines so they will use a per-thread variable for the cached reply port. */ |