|
@@ -1041,7 +1041,7 @@ static struct task_struct *copy_process(unsigned long clone_flags,
|
|
|
|
|
|
p->default_timer_slack_ns = current->timer_slack_ns;
|
|
p->default_timer_slack_ns = current->timer_slack_ns;
|
|
|
|
|
|
-#ifdef CONFIG_DETECT_SOFTLOCKUP
|
|
|
|
|
|
+#ifdef CONFIG_DETECT_HUNG_TASK
|
|
p->last_switch_count = 0;
|
|
p->last_switch_count = 0;
|
|
p->last_switch_timestamp = 0;
|
|
p->last_switch_timestamp = 0;
|
|
#endif
|
|
#endif
|