diff options
Diffstat (limited to 'nptl/sysdeps/x86_64')
-rw-r--r-- | nptl/sysdeps/x86_64/pthread_sigmask.c | 1 | ||||
-rw-r--r-- | nptl/sysdeps/x86_64/tls.h | 11 |
2 files changed, 1 insertions, 11 deletions
diff --git a/nptl/sysdeps/x86_64/pthread_sigmask.c b/nptl/sysdeps/x86_64/pthread_sigmask.c new file mode 100644 index 0000000000..802d61f819 --- /dev/null +++ b/nptl/sysdeps/x86_64/pthread_sigmask.c @@ -0,0 +1 @@ +#include "../i386/pthread_sigmask.c" diff --git a/nptl/sysdeps/x86_64/tls.h b/nptl/sysdeps/x86_64/tls.h index 2daf0328d5..8a4b718cf0 100644 --- a/nptl/sysdeps/x86_64/tls.h +++ b/nptl/sysdeps/x86_64/tls.h @@ -119,17 +119,6 @@ union user_desc_init (((tcbhead_t *) (descr))->dtv) -/* Macros to load from and store into segment registers. */ -# ifndef TLS_GET_GS -# define TLS_GET_GS() \ - ({ int __seg; __asm ("movw %%gs, %w0" : "=q" (__seg)); __seg & 0xffff; }) -# endif -# ifndef TLS_SET_GS -# define TLS_SET_GS(val) \ - __asm ("movw %w0, %%gs" :: "q" (val)) -# endif - - # ifndef __NR_set_thread_area # define __NR_set_thread_area 243 # endif |