about summary refs log tree commit diff
path: root/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c b/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c
deleted file mode 100644
index 640d3044fd..0000000000
--- a/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <tls.h>
-
-#define RESET_VGETCPU_CACHE() \
-  do {			      \
-    asm volatile ("movl %0, %%fs:%P1\n\t"				      \
-		  "movl %0, %%fs:%P2"					      \
-		  :							      \
-		  : "ir" (0), "i" (offsetof (struct pthread,		      \
-					     header.vgetcpu_cache[0])),	      \
-		    "i" (offsetof (struct pthread,			      \
-				   header.vgetcpu_cache[1])));		\
-  } while (0)
-
-#include "../pthread_setaffinity.c"