2004-09-03 Alfred M. Szmidt <ams@kemisten.nu>
authorRoland McGrath <roland@gnu.org>
Fri, 3 Sep 2004 20:49:00 +0000 (20:49 +0000)
committerRoland McGrath <roland@gnu.org>
Fri, 3 Sep 2004 20:49:00 +0000 (20:49 +0000)
* sysdeps/mach/hurd/i386/tls.h (THREAD_DTV): Changed type of _DTV
to `dtv_t *'.

sysdeps/mach/hurd/i386/tls.h

index e9855b6..d04bdb4 100644 (file)
@@ -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; })