Include <kernel-features.h> explicitly where required.
[glibc.git] / sysdeps / sh / nptl / tcb-offsets.sym
blobac63b5b93bf615ec0fedd9c7d7e3d12e910e4f39
1 #include <sysdep.h>
2 #include <tls.h>
3 #include <kernel-features.h>
5 RESULT                  offsetof (struct pthread, result)
6 TID                     offsetof (struct pthread, tid)
7 PID                     offsetof (struct pthread, pid)
8 CANCELHANDLING          offsetof (struct pthread, cancelhandling)
9 CLEANUP_JMP_BUF         offsetof (struct pthread, cleanup_jmp_buf)
10 MULTIPLE_THREADS_OFFSET offsetof (struct pthread, header.multiple_threads)
11 TLS_PRE_TCB_SIZE        sizeof (struct pthread)
12 MUTEX_FUTEX             offsetof (pthread_mutex_t, __data.__lock)
13 POINTER_GUARD           offsetof (tcbhead_t, pointer_guard)
14 #ifndef __ASSUME_PRIVATE_FUTEX
15 PRIVATE_FUTEX           offsetof (struct pthread, header.private_futex)
16 #endif