diff options
Diffstat (limited to 'kernel/fork.c')
-rw-r--r-- | kernel/fork.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index aca62871a4f9..2b44d82b8237 100644 --- a/kernel/fork.c +++ b/kernel/fork.c | |||
@@ -1152,7 +1152,7 @@ static struct task_struct *copy_process(unsigned long clone_flags, | |||
1152 | #endif | 1152 | #endif |
1153 | 1153 | ||
1154 | /* Perform scheduler related setup. Assign this task to a CPU. */ | 1154 | /* Perform scheduler related setup. Assign this task to a CPU. */ |
1155 | sched_fork(p, clone_flags); | 1155 | sched_fork(p); |
1156 | 1156 | ||
1157 | retval = perf_event_init_task(p); | 1157 | retval = perf_event_init_task(p); |
1158 | if (retval) | 1158 | if (retval) |
@@ -1463,7 +1463,7 @@ long do_fork(unsigned long clone_flags, | |||
1463 | */ | 1463 | */ |
1464 | p->flags &= ~PF_STARTING; | 1464 | p->flags &= ~PF_STARTING; |
1465 | 1465 | ||
1466 | wake_up_new_task(p, clone_flags); | 1466 | wake_up_new_task(p); |
1467 | 1467 | ||
1468 | tracehook_report_clone_complete(trace, regs, | 1468 | tracehook_report_clone_complete(trace, regs, |
1469 | clone_flags, nr, p); | 1469 | clone_flags, nr, p); |