]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
[POWERPC] spufs: add marker for destroy_spu_context
authorJulio M. Merino Vidal <jmerino@ac.upc.edu>
Wed, 30 Apr 2008 05:12:30 +0000 (15:12 +1000)
committerJeremy Kerr <jk@ozlabs.org>
Wed, 30 Apr 2008 05:12:30 +0000 (15:12 +1000)
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>
arch/powerpc/platforms/cell/spufs/context.c

index 91f2d4d9aefd71eb2ab08cf113857f4c424dace2..5c5010078042b8d58570307752df68aee60751e5 100644 (file)
@@ -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);