aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mach
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2004-09-03 20:49:00 +0000
committerRoland McGrath <roland@gnu.org>2004-09-03 20:49:00 +0000
commitb80f5da01c0b793e3b582c952f2a2a608ea9e5d3 (patch)
treeabbc59ccae5859ecc4253f0b26ec9db11592b9cc /sysdeps/mach
parentead07d01fa97ad6329c9e780643a3a5631ed7589 (diff)
downloadglibc-b80f5da01c0b793e3b582c952f2a2a608ea9e5d3.tar
glibc-b80f5da01c0b793e3b582c952f2a2a608ea9e5d3.tar.gz
glibc-b80f5da01c0b793e3b582c952f2a2a608ea9e5d3.tar.bz2
glibc-b80f5da01c0b793e3b582c952f2a2a608ea9e5d3.zip
2004-09-03 Alfred M. Szmidt <ams@kemisten.nu>
* sysdeps/mach/hurd/i386/tls.h (THREAD_DTV): Changed type of _DTV to `dtv_t *'.
Diffstat (limited to 'sysdeps/mach')
-rw-r--r--sysdeps/mach/hurd/i386/tls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/i386/tls.h b/sysdeps/mach/hurd/i386/tls.h
index e9855b6f93..d04bdb43f2 100644
--- a/sysdeps/mach/hurd/i386/tls.h
+++ b/sysdeps/mach/hurd/i386/tls.h
@@ -129,7 +129,7 @@ _hurd_tls_init (tcbhead_t *tcb, int secondcall)
/* Return the address of the dtv for the current thread. */
# define THREAD_DTV() \
- ({ void *_dtv; \
+ ({ dtv_t *_dtv; \
asm ("movl %%gs:%P1,%0" : "=q" (_dtv) : "i" (offsetof (tcbhead_t, dtv)));\
_dtv; })