Re: [PATCH] rq->curr==p not equivalent to task_running(rq,p)

Ingo Molnar
2004-01-14T08:55:16Z

* 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