1 #include <tls.h> 2 3 #define RESET_VGETCPU_CACHE() \ 4 do { \ 5 __asm__ __volatile__ ("movl %0, %%fs:%P1\n\t" \ 6 "movl %0, %%fs:%P2" \ 7 : \ 8 : "ir" (0), "i" (offsetof (struct pthread, \ 9 header.vgetcpu_cache[0])), \ 10 "i" (offsetof (struct pthread, \ 11 header.vgetcpu_cache[1]))); \ 12 } while (0) 13 14 #include "../pthread_setaffinity.c" 15