aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/fork.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/fork.c')
-rw-r--r--kernel/fork.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/kernel/fork.c b/kernel/fork.c
index 8d932b1c9056..e1f34abe5887 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -1674,10 +1674,7 @@ SYSCALL_DEFINE5(clone, unsigned long, clone_flags, unsigned long, newsp,
1674 int, tls_val) 1674 int, tls_val)
1675#endif 1675#endif
1676{ 1676{
1677 long ret = do_fork(clone_flags, newsp, 0, parent_tidptr, child_tidptr); 1677 return do_fork(clone_flags, newsp, 0, parent_tidptr, child_tidptr);
1678 asmlinkage_protect(5, ret, clone_flags, newsp,
1679 parent_tidptr, child_tidptr, tls_val);
1680 return ret;
1681} 1678}
1682#endif 1679#endif
1683 1680