lkml.org 
[lkml]   [2004]   [Jan]   [14]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateWed, 14 Jan 2004 09:55:57 +0100
FromIngo Molnar <>
SubjectRe: [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/

\
 
 \ /
  Last update: 2005-03-22 13:00    [from the cache]
©2003-2008