]> err.no Git - linux-2.6/commit
[POWERPC] spufs: don't (ab)use SCHED_IDLE
authorJeremy Kerr <jk@ozlabs.org>
Tue, 4 Mar 2008 09:17:02 +0000 (20:17 +1100)
committerJeremy Kerr <jk@ozlabs.org>
Tue, 11 Mar 2008 01:28:02 +0000 (12:28 +1100)
commitce7c191bca88aa2f942f70a6d6c6315739a81a32
tree9acd862b1278fb4cc38f52ae11715e050e505621
parent3cecdda3f169f22f324f78fd544beee68e3cc6a4
[POWERPC] spufs: don't (ab)use SCHED_IDLE

commit 4ef11014 introduced a usage of SCHED_IDLE to detect when
a context is within spu_run.

Instead of SCHED_IDLE (which has other meaning), add a flag to
sched_flags to tell if a context should be running.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
arch/powerpc/platforms/cell/spufs/run.c
arch/powerpc/platforms/cell/spufs/sched.c
arch/powerpc/platforms/cell/spufs/spufs.h