mirror of
git://sourceware.org/git/glibc.git
synced 2024-12-09 04:11:27 +08:00
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:
parent
ead07d01fa
commit
b80f5da01c
@ -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; })
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user