about summary refs log tree commit diff
path: root/sysdeps/csky/nptl/pthread-offsets.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/csky/nptl/pthread-offsets.h')
-rw-r--r--sysdeps/csky/nptl/pthread-offsets.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/csky/nptl/pthread-offsets.h b/sysdeps/csky/nptl/pthread-offsets.h
new file mode 100644
index 0000000000..9617354dc7
--- /dev/null
+++ b/sysdeps/csky/nptl/pthread-offsets.h
@@ -0,0 +1,5 @@
+#define __PTHREAD_MUTEX_NUSERS_OFFSET   16
+#define __PTHREAD_MUTEX_KIND_OFFSET     12
+#define __PTHREAD_MUTEX_SPINS_OFFSET    20
+#define __PTHREAD_MUTEX_ELISION_OFFSET  22
+#define __PTHREAD_MUTEX_LIST_OFFSET     20