aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/fork.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/fork.c')
-rw-r--r--kernel/fork.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/fork.c b/kernel/fork.c
index 30de644a40c4..37b3e150ae39 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -989,6 +989,8 @@ static struct task_struct *copy_process(unsigned long clone_flags,
989 p->prev_utime = cputime_zero; 989 p->prev_utime = cputime_zero;
990 p->prev_stime = cputime_zero; 990 p->prev_stime = cputime_zero;
991 991
992 p->default_timer_slack_ns = current->timer_slack_ns;
993
992#ifdef CONFIG_DETECT_SOFTLOCKUP 994#ifdef CONFIG_DETECT_SOFTLOCKUP
993 p->last_switch_count = 0; 995 p->last_switch_count = 0;
994 p->last_switch_timestamp = 0; 996 p->last_switch_timestamp = 0;