2004-09-03 Alfred M. Szmidt <ams@kemisten.nu>

* sysdeps/mach/hurd/i386/tls.h (THREAD_DTV): Changed type of _DTV
	to `dtv_t *'.
This commit is contained in:
Roland McGrath 2004-09-03 20:49:00 +00:00
parent ead07d01fa
commit b80f5da01c
1 changed files with 1 additions and 1 deletions

View 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; })