Messages in this thread Patch in this message | | | Date | Tue, 14 Jun 2005 10:32:13 -0400 | From | Joe Korty <> | Subject | [PATCH] possible error in EXIT_DEAD transformation |
| |
This assignment may have been missed, when TASK_DEAD was converted over to EXIT_DEAD.
Signed-off-by: Joe Korty <joe.korty@ccur.com>
2.6.12-rc6-git7-jak/kernel/sched.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)
diff -puNa kernel/sched.c~possibly.erronous.task_state.assignment kernel/sched.c --- 2.6.12-rc6-git7/kernel/sched.c~possibly.erronous.task_state.assignment 2005-06-14 10:25:49.000000000 -0400 +++ 2.6.12-rc6-git7-jak/kernel/sched.c 2005-06-14 10:26:05.000000000 -0400 @@ -2664,7 +2664,7 @@ need_resched_nonpreemptible: spin_lock_irq(&rq->lock); if (unlikely(prev->flags & PF_DEAD)) - prev->state = EXIT_DEAD; + prev->exit_state = EXIT_DEAD; switch_count = &prev->nivcsw; if (prev->state && !(preempt_count() & PREEMPT_ACTIVE)) { _ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |