Add backslashes missing in last change.
This commit is contained in:
parent
58c64754d2
commit
91b52f4838
|
@ -116,21 +116,21 @@ _hurd_tls_init (tcbhead_t *tcb, int secondcall)
|
||||||
# define TLS_INIT_TP_EXPENSIVE 1
|
# define TLS_INIT_TP_EXPENSIVE 1
|
||||||
|
|
||||||
/* Return the TCB address of the current thread. */
|
/* Return the TCB address of the current thread. */
|
||||||
# define THREAD_SELF \
|
# define THREAD_SELF \
|
||||||
({ tcbhead_t *__tcb;
|
({ tcbhead_t *__tcb; \
|
||||||
__asm__ ("movl %%gs:%c1,%0" : "=r" (__tcb) \
|
__asm__ ("movl %%gs:%c1,%0" : "=r" (__tcb) \
|
||||||
: "i" (offsetof (tcbhead_t, tcb))); \
|
: "i" (offsetof (tcbhead_t, tcb))); \
|
||||||
__tcb;})
|
__tcb;})
|
||||||
|
|
||||||
/* Install new dtv for current thread. */
|
/* Install new dtv for current thread. */
|
||||||
# define INSTALL_NEW_DTV(dtvp) \
|
# define INSTALL_NEW_DTV(dtvp) \
|
||||||
({ asm volatile ("movl %0,%%gs:%P1"
|
({ asm volatile ("movl %0,%%gs:%P1" \
|
||||||
: : "ir" (dtvp), "i" (offsetof (tcbhead_t, dtv))); })
|
: : "ir" (dtvp), "i" (offsetof (tcbhead_t, dtv))); })
|
||||||
|
|
||||||
/* Return the address of the dtv for the current thread. */
|
/* Return the address of the dtv for the current thread. */
|
||||||
# define THREAD_DTV() \
|
# define THREAD_DTV() \
|
||||||
({ void *_dtv;
|
({ void *_dtv; \
|
||||||
asm ("movl %%gs:%P1,%0" : "=q" (_dtv) : "i" (offsetof (tcbhead_t, dtv)));
|
asm ("movl %%gs:%P1,%0" : "=q" (_dtv) : "i" (offsetof (tcbhead_t, dtv)));\
|
||||||
_dtv; })
|
_dtv; })
|
||||||
|
|
||||||
# endif /* !ASSEMBLER */
|
# endif /* !ASSEMBLER */
|
||||||
|
|
Loading…
Reference in New Issue