aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mips/nptl/pthread-offsets.h
blob: e52b347531ae2bc1e817ce42ec6dd3316d912077 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#if _MIPS_SIM == _ABI64
# define __PTHREAD_MUTEX_KIND_OFFSET     16
#else
# define __PTHREAD_MUTEX_KIND_OFFSET     12
#endif

#if _MIPS_SIM == _ABI64
# define __PTHREAD_RWLOCK_FLAGS_OFFSET   48
#else
# if __BYTE_ORDER == __BIG_ENDIAN
#  define __PTHREAD_RWLOCK_FLAGS_OFFSET  27
# else
#  define __PTHREAD_RWLOCK_FLAGS_OFFSET  24
# endif
#endif