]> git.baikalelectronics.ru Git - kernel.git/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)
commitda82402bc3eb0c3c72f3a0f6805769a0f2d6831a
tree9acd862b1278fb4cc38f52ae11715e050e505621
parent17f0bcaa0d4b09968d46e4f35ca9047733c264ac
[POWERPC] spufs: don't (ab)use SCHED_IDLE

commit 9c1b8c1b 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