Re: [PATCH] rq->curr==p not equivalent to task_running(rq,p)
From: Ingo Molnar
Date: Wed Jan 14 2004 - 03:56:24 EST
* Joe Korty <joe.korty@xxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/