summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/cell/spufs/run.c
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2008-02-21 13:49:13 +0300
committerPaul Mackerras <paulus@samba.org>2008-02-21 13:49:13 +0300
commita8b87f609d1332216e683b473d33342c86f21ac3 (patch)
tree128f86486e6ec21307c9047949639062da660ad9 /arch/powerpc/platforms/cell/spufs/run.c
parent9c0338522896c54b79ad7918638175bf58d7c551 (diff)
parent61b36fc1f7d511132b1dd1422c29c7a8f26d77db (diff)
downloadlinux-a8b87f609d1332216e683b473d33342c86f21ac3.tar.xz
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/jk/spufs into merge
Diffstat (limited to 'arch/powerpc/platforms/cell/spufs/run.c')
-rw-r--r--arch/powerpc/platforms/cell/spufs/run.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/cell/spufs/run.c b/arch/powerpc/platforms/cell/spufs/run.c
index fca22e18069a..6221968c2a3c 100644
--- a/arch/powerpc/platforms/cell/spufs/run.c
+++ b/arch/powerpc/platforms/cell/spufs/run.c
@@ -234,6 +234,7 @@ static int spu_run_fini(struct spu_context *ctx, u32 *npc,
*npc = ctx->ops->npc_read(ctx);
spuctx_switch_state(ctx, SPU_UTIL_IDLE_LOADED);
+ ctx->policy = SCHED_IDLE;
spu_release(ctx);
if (signal_pending(current))