Commit 53457881 authored by Julio M. Merino Vidal's avatar Julio M. Merino Vidal Committed by Jeremy Kerr

[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: default avatarJulio M. Merino Vidal <jmerino@ac.upc.edu>
Signed-off-by: default avatarJeremy Kerr <jk@ozlabs.org>
parent d6508aaf
...@@ -78,6 +78,7 @@ void destroy_spu_context(struct kref *kref) ...@@ -78,6 +78,7 @@ void destroy_spu_context(struct kref *kref)
{ {
struct spu_context *ctx; struct spu_context *ctx;
ctx = container_of(kref, struct spu_context, kref); ctx = container_of(kref, struct spu_context, kref);
spu_context_nospu_trace(destroy_spu_context__enter, ctx);
mutex_lock(&ctx->state_mutex); mutex_lock(&ctx->state_mutex);
spu_deactivate(ctx); spu_deactivate(ctx);
mutex_unlock(&ctx->state_mutex); mutex_unlock(&ctx->state_mutex);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment