Message ID | 200812101740.43108.adetsch@br.ibm.com |
---|---|
State | RFC |
Headers | show |
diff --git a/arch/powerpc/platforms/cell/spufs/context.c b/arch/powerpc/platforms/cell/spufs/context.c index ef81894..a83c3bd 100644 --- a/arch/powerpc/platforms/cell/spufs/context.c +++ b/arch/powerpc/platforms/cell/spufs/context.c @@ -130,8 +130,8 @@ void destroy_spu_context(struct kref *kref) spu_context_nospu_trace(destroy_spu_context__enter, ctx); - spu_fini_csa(&ctx->csa); spu_gang_remove_ctx(ctx->gang, ctx); + spu_fini_csa(&ctx->csa); if (ctx->prof_priv_kref) kref_put(ctx->prof_priv_kref, ctx->prof_priv_release); atomic_dec(&nr_spu_contexts);