diff options
Diffstat (limited to 'sysdeps/mach/hurd/pt-sysdep.c')
-rw-r--r-- | sysdeps/mach/hurd/pt-sysdep.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sysdeps/mach/hurd/pt-sysdep.c b/sysdeps/mach/hurd/pt-sysdep.c index 882af69..09f0dcb 100644 --- a/sysdeps/mach/hurd/pt-sysdep.c +++ b/sysdeps/mach/hurd/pt-sysdep.c @@ -24,8 +24,6 @@ #include <mach.h> #include <mach/mig_support.h> -#include <hurd/threadvar.h> - #include <pt-internal.h> __thread struct __pthread *___pthread_self; @@ -77,11 +75,5 @@ init_routine (void) /* Make MiG code thread aware. */ __mig_init (thread->stackaddr); - /* Make sure we can find the per-thread variables. */ - __hurd_threadvar_stack_mask = ~(__pthread_default_attr.stacksize - 1); - __hurd_threadvar_stack_offset - = (__pthread_default_attr.stacksize - - __hurd_threadvar_max * sizeof (uintptr_t)); - return thread->mcontext.sp; } |