summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulio M. Merino Vidal <jmerino@ac.upc.edu>2008-04-30 07:21:17 +0200
committerJeremy Kerr <jk@ozlabs.org>2008-04-30 07:21:17 +0200
commit3734dfc68b64d8ca202c799280daf28c2424659d (patch)
treeeeeabf783df8952670113a85470f9d3ba70e4f88
parent[POWERPC] spufs: fix marker name for find_victim (diff)
downloadlinux-3734dfc68b64d8ca202c799280daf28c2424659d.tar.xz
linux-3734dfc68b64d8ca202c799280daf28c2424659d.zip
[POWERPC] spufs: trace spu_acquire_saved events
The sputrace module contained a trace entry for spu_acquire_saved, but this marker was not placed anywhere. Fix this by adding a marker to the routine. Signed-off-by: Julio M. Merino Vidal <jmerino@ac.upc.edu> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
-rw-r--r--arch/powerpc/platforms/cell/spufs/context.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/cell/spufs/context.c b/arch/powerpc/platforms/cell/spufs/context.c
index 5c5010078042..177735f79317 100644
--- a/arch/powerpc/platforms/cell/spufs/context.c
+++ b/arch/powerpc/platforms/cell/spufs/context.c
@@ -152,6 +152,8 @@ int spu_acquire_saved(struct spu_context *ctx)
{
int ret;
+ spu_context_nospu_trace(spu_acquire_saved__enter, ctx);
+
ret = spu_acquire(ctx);
if (ret)
return ret;