diff options
author | Oleg Nesterov <oleg@redhat.com> | 2012-03-05 17:59:13 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-05 18:49:42 -0500 |
commit | c415c3b47ea2754659d915cca387a20999044163 (patch) | |
tree | c2cb1134f139702e06ade8aecbeff70be7ea727c /include | |
parent | 880641bb9da2473e9ecf6c708d993b29928c1b3c (diff) |
vfork: introduce complete_vfork_done()
No functional changes.
Move the clear-and-complete-vfork_done code into the new trivial helper,
complete_vfork_done().
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/sched.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 7d379a6bfd88..1b25a37f2aee 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -2291,6 +2291,7 @@ extern int do_execve(const char *, | |||
2291 | const char __user * const __user *, | 2291 | const char __user * const __user *, |
2292 | const char __user * const __user *, struct pt_regs *); | 2292 | const char __user * const __user *, struct pt_regs *); |
2293 | extern long do_fork(unsigned long, unsigned long, struct pt_regs *, unsigned long, int __user *, int __user *); | 2293 | extern long do_fork(unsigned long, unsigned long, struct pt_regs *, unsigned long, int __user *, int __user *); |
2294 | extern void complete_vfork_done(struct task_struct *tsk); | ||
2294 | struct task_struct *fork_idle(int); | 2295 | struct task_struct *fork_idle(int); |
2295 | 2296 | ||
2296 | extern void set_task_comm(struct task_struct *tsk, char *from); | 2297 | extern void set_task_comm(struct task_struct *tsk, char *from); |