summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/cell/spufs/sched.c
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2008-08-13 11:29:31 +1000
committerJeremy Kerr <jk@ozlabs.org>2008-08-13 11:42:47 +1000
commitd9dd421fd6ed17af55d27c8d93a9f561be0ff50f (patch)
tree00a4f49a7a9f478e97aebee786682c2723e3b533 /arch/powerpc/platforms/cell/spufs/sched.c
parent2e1e9212ed8c532c6b324de77d3cafef5d2bc846 (diff)
powerpc/spufs: fix npc setting for NOSCHED contexts
Currently, spu_run ignores the npc argument for contexts created with SPU_CREATE_NOSCHED. While this is correct for isolated contexts, there's no need to enforce the npc restriction on non-isolated NOSCHED contexts. This means that NOSCHED contexts can only ever run with an entry point of 0x0. This change to spu_run_init allows setting of the npc (and, while we're at it, the privcntl) for non-isolated NOSCHED contexts. This allows us to run NOSCHED contexts from any entry point. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'arch/powerpc/platforms/cell/spufs/sched.c')
0 files changed, 0 insertions, 0 deletions