aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2004-09-03 00:28:13 +0000
committerRoland McGrath <roland@gnu.org>2004-09-03 00:28:13 +0000
commit91b52f4838fffe071bfbf489d4d9c62f32702287 (patch)
tree8c48e073b1dac97c7e0c3c1775585198e7dc92d0 /sysdeps
parent58c64754d257dedcf7056d681724a65c6784223e (diff)
downloadglibc-91b52f4838fffe071bfbf489d4d9c62f32702287.zip
glibc-91b52f4838fffe071bfbf489d4d9c62f32702287.tar.gz
glibc-91b52f4838fffe071bfbf489d4d9c62f32702287.tar.bz2
Add backslashes missing in last change.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/mach/hurd/i386/tls.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/sysdeps/mach/hurd/i386/tls.h b/sysdeps/mach/hurd/i386/tls.h
index 2863ac8..e9855b6 100644
--- a/sysdeps/mach/hurd/i386/tls.h
+++ b/sysdeps/mach/hurd/i386/tls.h
@@ -116,21 +116,21 @@ _hurd_tls_init (tcbhead_t *tcb, int secondcall)
# define TLS_INIT_TP_EXPENSIVE 1
/* Return the TCB address of the current thread. */
-# define THREAD_SELF \
- ({ tcbhead_t *__tcb;
- __asm__ ("movl %%gs:%c1,%0" : "=r" (__tcb) \
- : "i" (offsetof (tcbhead_t, tcb))); \
+# define THREAD_SELF \
+ ({ tcbhead_t *__tcb; \
+ __asm__ ("movl %%gs:%c1,%0" : "=r" (__tcb) \
+ : "i" (offsetof (tcbhead_t, tcb))); \
__tcb;})
/* Install new dtv for current thread. */
-# define INSTALL_NEW_DTV(dtvp) \
- ({ asm volatile ("movl %0,%%gs:%P1"
+# define INSTALL_NEW_DTV(dtvp) \
+ ({ asm volatile ("movl %0,%%gs:%P1" \
: : "ir" (dtvp), "i" (offsetof (tcbhead_t, dtv))); })
/* Return the address of the dtv for the current thread. */
-# define THREAD_DTV() \
- ({ void *_dtv;
- asm ("movl %%gs:%P1,%0" : "=q" (_dtv) : "i" (offsetof (tcbhead_t, dtv)));
+# define THREAD_DTV() \
+ ({ void *_dtv; \
+ asm ("movl %%gs:%P1,%0" : "=q" (_dtv) : "i" (offsetof (tcbhead_t, dtv)));\
_dtv; })
# endif /* !ASSEMBLER */