summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sysdeps/unix/sysv/linux/m68k/createthread.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux/m68k/createthread.c')
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/m68k/createthread.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/m68k/createthread.c b/libpthread/nptl/sysdeps/unix/sysv/linux/m68k/createthread.c
new file mode 100644
index 000000000..9c04a8f48
--- /dev/null
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/m68k/createthread.c
@@ -0,0 +1,6 @@
+/* Value passed to 'clone' for initialization of the thread register. */
+#define TLS_VALUE ((void *) (pd) \
+ + TLS_TCB_OFFSET + TLS_PRE_TCB_SIZE)
+
+/* Get the real implementation. */
+#include <sysdeps/pthread/createthread.c>