diff options
Diffstat (limited to 'sysdeps/nptl/fork.c')
-rw-r--r-- | sysdeps/nptl/fork.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sysdeps/nptl/fork.c b/sysdeps/nptl/fork.c index f00dd64f64..ec56a827eb 100644 --- a/sysdeps/nptl/fork.c +++ b/sysdeps/nptl/fork.c @@ -73,13 +73,7 @@ __libc_fork (void) call_function_static_weak (__malloc_fork_lock_parent); } -#ifdef ARCH_FORK - pid = ARCH_FORK (); -#else -# error "ARCH_FORK must be defined so that the CLONE_SETTID flag is used" - pid = INLINE_SYSCALL (fork, 0); -#endif - + pid = arch_fork (&THREAD_SELF->tid); if (pid == 0) { |