]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
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 e9855b6f93a834fdb33835621e853a6ec55e44fc..d04bdb43f22a999754a389f62945b91ee389a2fe 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; })