|
@@ -5279,7 +5279,7 @@ static void migrate_dead(unsigned int dead_cpu, struct task_struct *p)
|
|
struct rq *rq = cpu_rq(dead_cpu);
|
|
struct rq *rq = cpu_rq(dead_cpu);
|
|
|
|
|
|
/* Must be exiting, otherwise would be on tasklist. */
|
|
/* Must be exiting, otherwise would be on tasklist. */
|
|
- BUG_ON(p->exit_state != EXIT_ZOMBIE && p->exit_state != EXIT_DEAD);
|
|
|
|
|
|
+ BUG_ON(!p->exit_state);
|
|
|
|
|
|
/* Cannot have done final schedule yet: would have vanished. */
|
|
/* Cannot have done final schedule yet: would have vanished. */
|
|
BUG_ON(p->state == TASK_DEAD);
|
|
BUG_ON(p->state == TASK_DEAD);
|