Messages in this thread | | | Date | Wed, 14 Jan 2004 09:55:57 +0100 | From | Ingo Molnar <> | Subject | Re: [PATCH] rq->curr==p not equivalent to task_running(rq,p) |
| |
* Joe Korty <joe.korty@ccur.com> wrote:
> task_running(rq,p) is equivalent to (rq->curr == p) only for some > architectures. Boot tested on i386.
> - if (rq->curr == p) { > + if (task_running(rq, p)) {
indeed - good catch. Andrew, please apply.
Ingo - 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/
| |