aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
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 1d68f1255dd8..fb9444282836 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -1041,7 +1041,7 @@ static struct task_struct *copy_process(unsigned long clone_flags,
1041 1041
1042 p->default_timer_slack_ns = current->timer_slack_ns; 1042 p->default_timer_slack_ns = current->timer_slack_ns;
1043 1043
1044#ifdef CONFIG_DETECT_SOFTLOCKUP 1044#ifdef CONFIG_DETECT_HUNG_TASK
1045 p->last_switch_count = 0; 1045 p->last_switch_count = 0;
1046 p->last_switch_timestamp = 0; 1046 p->last_switch_timestamp = 0;
1047#endif 1047#endif