aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/cell
diff options
context:
space:
mode:
authorJulio M. Merino Vidal <jmerino@ac.upc.edu>2008-04-30 15:12:30 +1000
committerJeremy Kerr <jk@ozlabs.org>2008-04-30 15:12:30 +1000
commit534578816f028b0dc675fdcc3314016d98588327 (patch)
tree4f2b44a1187eb82120b6bd0e6f4715647535aeca /arch/powerpc/platforms/cell
parentd6508aaf27ccef0d7e986aaa220ad4d098bca260 (diff)
[POWERPC] spufs: add marker for destroy_spu_context
The sputrace module contained a reference to a marker for destroy_spu_context, but this marker did not appear in the code. Fix this by adding a marker in the function. Signed-off-by: Julio M. Merino Vidal <jmerino@ac.upc.edu> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'arch/powerpc/platforms/cell')
-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 91f2d4d9aef..5c501007804 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)
{
struct spu_context *ctx;
ctx = container_of(kref, struct spu_context, kref);
+ spu_context_nospu_trace(destroy_spu_context__enter, ctx);
mutex_lock(&ctx->state_mutex);
spu_deactivate(ctx);
mutex_unlock(&ctx->state_mutex);