aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/sysdeps/i386/tls.h
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/sysdeps/i386/tls.h')
-rw-r--r--linuxthreads/sysdeps/i386/tls.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/linuxthreads/sysdeps/i386/tls.h b/linuxthreads/sysdeps/i386/tls.h
index a00de6c3d8..03d36de486 100644
--- a/linuxthreads/sysdeps/i386/tls.h
+++ b/linuxthreads/sysdeps/i386/tls.h
@@ -107,14 +107,6 @@ 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; \
-})
-
# ifdef __ASSUME_SET_THREAD_AREA_SYSCALL
# define TLS_SETUP_GS_SEGMENT(descr) \
INLINE_SYSCALL (set_thread_area, 2, descr, 1)