aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/sysdeps')
-rw-r--r--linuxthreads/sysdeps/i386/tls.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/linuxthreads/sysdeps/i386/tls.h b/linuxthreads/sysdeps/i386/tls.h
index b49543d61a..55cceccf37 100644
--- a/linuxthreads/sysdeps/i386/tls.h
+++ b/linuxthreads/sysdeps/i386/tls.h
@@ -103,12 +103,12 @@ typedef struct
__builtin_expect (result, 0) != 0 ? -1 : nr * 8 + 7; \
})
-# define TLS_DO_SET_THREAD_AREA(descr) \
- INLINE_SYSCALL (set_thread_area, 2, descr, 1);
- if (__builtin_expect (__seg, 0) == -1)
- /* Nothing else we can do. */
- asm ("hlt");
- __seg;
+# define TLS_DO_SET_THREAD_AREA(descr) \
+ INLINE_SYSCALL (set_thread_area, 2, descr, 1); \
+ if (__builtin_expect (__seg, 0) == -1) \
+ /* Nothing else we can do. */ \
+ asm ("hlt"); \
+ __seg; \
})
# ifdef __ASSUME_SET_THREAD_AREA_SYSCALL