aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/platforms/cell/spufs/context.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/cell/spufs/context.c b/arch/powerpc/platforms/cell/spufs/context.c
index 91f2d4d9aefd..5c5010078042 100644
--- a/arch/powerpc/platforms/cell/spufs/context.c
+++ b/arch/powerpc/platforms/cell/spufs/context.c
@@ -78,6 +78,7 @@ void destroy_spu_context(struct kref *kref)
78{ 78{
79 struct spu_context *ctx; 79 struct spu_context *ctx;
80 ctx = container_of(kref, struct spu_context, kref); 80 ctx = container_of(kref, struct spu_context, kref);
81 spu_context_nospu_trace(destroy_spu_context__enter, ctx);
81 mutex_lock(&ctx->state_mutex); 82 mutex_lock(&ctx->state_mutex);
82 spu_deactivate(ctx); 83 spu_deactivate(ctx);
83 mutex_unlock(&ctx->state_mutex); 84 mutex_unlock(&ctx->state_mutex);