summaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd/i386/pt-setup.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2013-10-20 20:35:45 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-10-20 20:35:45 +0200
commit959f7365fccd1c89be9938c2655eba9122171e6a (patch)
treee6bfd2033e25a1ff84c4ed38dc6e2f3084ff3c71 /sysdeps/mach/hurd/i386/pt-setup.c
parente0e1f05656e0b443bcb4a5c61550925acba78cb6 (diff)
Drop threadvars entirely
Diffstat (limited to 'sysdeps/mach/hurd/i386/pt-setup.c')
-rw-r--r--sysdeps/mach/hurd/i386/pt-setup.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/sysdeps/mach/hurd/i386/pt-setup.c b/sysdeps/mach/hurd/i386/pt-setup.c
index 73fd43d..548858b 100644
--- a/sysdeps/mach/hurd/i386/pt-setup.c
+++ b/sysdeps/mach/hurd/i386/pt-setup.c
@@ -32,13 +32,7 @@
-----------------
| 0 |
-----------------
- | |
- | Fast TSD |
- | |
- -----------------
-
- We need to reserve __hurd_threadvar_max `unsigned long int's' of
- (fast) thread-specific data (TSD) for the Hurd. */
+ */
/* Set up the stack for THREAD, such that it appears as if
START_ROUTINE and ARG were passed to the new thread's entry-point.
@@ -54,9 +48,6 @@ stack_setup (struct __pthread *thread,
bottom = thread->stackaddr;
top = (uintptr_t *) ((uintptr_t) bottom + thread->stacksize);
- /* Next, make room for the TSDs. */
- top -= __hurd_threadvar_max;
-
if (start_routine)
{
/* And then the call frame. */