1 #include <sched.h>
2 #include <signal.h>
3 #include <sysdep.h>
4 #include <tls.h>
5 
6 #define ARCH_FORK() \
7   INLINE_SYSCALL (clone, 5,                                                  \
8                  CLONE_CHILD_SETTID | CLONE_CHILD_CLEARTID | SIGCHLD, 0,     \
9                  NULL, NULL, &THREAD_SELF->tid)
10 
11 #include "../fork.c"
12