aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/cell/spufs
diff options
context:
space:
mode:
authorJulio M. Merino Vidal <jmerino@ac.upc.edu>2008-04-30 01:21:17 -0400
committerJeremy Kerr <jk@ozlabs.org>2008-04-30 01:21:17 -0400
commit3734dfc68b64d8ca202c799280daf28c2424659d (patch)
treeeeeabf783df8952670113a85470f9d3ba70e4f88 /arch/powerpc/platforms/cell/spufs
parent8a476d49555cb7e8d4222782f695048b46692731 (diff)
[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>
Diffstat (limited to 'arch/powerpc/platforms/cell/spufs')
-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 5c501007804..177735f7931 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)
152{ 152{
153 int ret; 153 int ret;
154 154
155 spu_context_nospu_trace(spu_acquire_saved__enter, ctx);
156
155 ret = spu_acquire(ctx); 157 ret = spu_acquire(ctx);
156 if (ret) 158 if (ret)
157 return ret; 159 return ret;