summaryrefslogtreecommitdiff
path: root/hurd/sigunwind.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2013-10-14 03:38:29 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-10-14 03:38:29 +0200
commitf1cc02b3342389c782cadfc94a047ba6200b0eb8 (patch)
tree26dc1cbe86fc4b2f4fb6f183e069f48bdc870d0f /hurd/sigunwind.c
parentbbebdc785060560d25521af88d5f1628b606cee1 (diff)
Replace mig_reply_port threadvar with a TLS variable
Diffstat (limited to 'hurd/sigunwind.c')
-rw-r--r--hurd/sigunwind.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hurd/sigunwind.c b/hurd/sigunwind.c
index de966aa09b..40af749479 100644
--- a/hurd/sigunwind.c
+++ b/hurd/sigunwind.c
@@ -38,8 +38,7 @@ _hurdsig_longjmp_from_handler (void *data, jmp_buf env, int val)
{
/* Destroy the MiG reply port used by the signal handler, and restore
the reply port in use by the thread when interrupted. */
- mach_port_t *reply_port =
- (mach_port_t *) __hurd_threadvar_location (_HURD_THREADVAR_MIG_REPLY);
+ mach_port_t *reply_port = &__hurd_local_reply_port;
if (*reply_port)
{
mach_port_t port = *reply_port;