aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/fork.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/fork.c')
-rw-r--r--kernel/fork.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/kernel/fork.c b/kernel/fork.c
index a31b823b3c2d..e05cff2429b5 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -1660,8 +1660,10 @@ SYSCALL_DEFINE5(clone, unsigned long, clone_flags, unsigned long, newsp,
1660 int, tls_val) 1660 int, tls_val)
1661#endif 1661#endif
1662{ 1662{
1663 return do_fork(clone_flags, newsp, 0, 1663 long ret = do_fork(clone_flags, newsp, 0, parent_tidptr, child_tidptr);
1664 parent_tidptr, child_tidptr); 1664 asmlinkage_protect(5, ret, clone_flags, newsp,
1665 parent_tidptr, child_tidptr, tls_val);
1666 return ret;
1665} 1667}
1666#endif 1668#endif
1667 1669