Message ID | 200812101740.43971.adetsch@br.ibm.com |
---|---|
State | RFC |
Headers | show |
diff --git a/arch/powerpc/platforms/cell/spufs/sched.c b/arch/powerpc/platforms/cell/spufs/sched.c index 7b4852f..3163239 100644 --- a/arch/powerpc/platforms/cell/spufs/sched.c +++ b/arch/powerpc/platforms/cell/spufs/sched.c @@ -1293,8 +1293,8 @@ static int spusched_thread(void *unused) mutex_unlock(mtx); preempted += spusched_tick(gang, ctx, preempted < maxcontexts); - mutex_lock(mtx); put_spu_context(ctx); + mutex_lock(mtx); active++; } }
put_spu_context cannot be called with the cbe_spu_info[].list_mutex spin_lock being hold. Signed-off-by: Andre Detsch <adetsch@br.ibm.com> --- arch/powerpc/platforms/cell/spufs/sched.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)