aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-10-22 22:51:14 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-11-28 23:43:42 -0500
commitafa86fc426ff7e7f5477f15da9c405d08d5cf790 (patch)
tree0f82925269757902ce6f7c287a968f7b439d2b2d /kernel
parent135c37b83c81b79a888108e3f7c5f64423d8a851 (diff)
flagday: don't pass regs to copy_thread()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/fork.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fork.c b/kernel/fork.c
index 27a337549dab..d96a562b1311 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -1320,7 +1320,7 @@ static struct task_struct *copy_process(unsigned long clone_flags,
1320 retval = copy_io(clone_flags, p); 1320 retval = copy_io(clone_flags, p);
1321 if (retval) 1321 if (retval)
1322 goto bad_fork_cleanup_namespaces; 1322 goto bad_fork_cleanup_namespaces;
1323 retval = copy_thread(clone_flags, stack_start, stack_size, p, regs); 1323 retval = copy_thread(clone_flags, stack_start, stack_size, p);
1324 if (retval) 1324 if (retval)
1325 goto bad_fork_cleanup_io; 1325 goto bad_fork_cleanup_io;
1326 1326