diff options
Diffstat (limited to 'kernel/fork.c')
| -rw-r--r-- | kernel/fork.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index 4d093552dd6e..f6083561dfe0 100644 --- a/kernel/fork.c +++ b/kernel/fork.c | |||
| @@ -1018,6 +1018,8 @@ static struct task_struct *copy_process(unsigned long clone_flags, | |||
| 1018 | p->prev_utime = cputime_zero; | 1018 | p->prev_utime = cputime_zero; |
| 1019 | p->prev_stime = cputime_zero; | 1019 | p->prev_stime = cputime_zero; |
| 1020 | 1020 | ||
| 1021 | p->default_timer_slack_ns = current->timer_slack_ns; | ||
| 1022 | |||
| 1021 | #ifdef CONFIG_DETECT_SOFTLOCKUP | 1023 | #ifdef CONFIG_DETECT_SOFTLOCKUP |
| 1022 | p->last_switch_count = 0; | 1024 | p->last_switch_count = 0; |
| 1023 | p->last_switch_timestamp = 0; | 1025 | p->last_switch_timestamp = 0; |
