summaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd/i386/sigreturn.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 /sysdeps/mach/hurd/i386/sigreturn.c
parentbbebdc785060560d25521af88d5f1628b606cee1 (diff)
Replace mig_reply_port threadvar with a TLS variable
Diffstat (limited to 'sysdeps/mach/hurd/i386/sigreturn.c')
-rw-r--r--sysdeps/mach/hurd/i386/sigreturn.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/i386/sigreturn.c b/sysdeps/mach/hurd/i386/sigreturn.c
index 92727b5424..1953096e5b 100644
--- a/sysdeps/mach/hurd/i386/sigreturn.c
+++ b/sysdeps/mach/hurd/i386/sigreturn.c
@@ -77,8 +77,7 @@ __sigreturn (struct sigcontext *scp)
/* Destroy the MiG reply port used by the signal handler, and restore the
reply port in use by the thread when interrupted. */
- reply_port =
- (mach_port_t *) __hurd_threadvar_location (_HURD_THREADVAR_MIG_REPLY);
+ reply_port = &__hurd_local_reply_port;
if (*reply_port)
{
mach_port_t port = *reply_port;