From: Julio M. Merino Vidal Date: Wed, 30 Apr 2008 05:21:17 +0000 (+1000) Subject: [POWERPC] spufs: trace spu_acquire_saved events X-Git-Tag: v2.6.26-rc1~108^2~2^2~1 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=3734dfc68b64d8ca202c799280daf28c2424659d;p=~shefty%2Frdma-dev.git [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 Signed-off-by: Jeremy Kerr --- 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) { int ret; + spu_context_nospu_trace(spu_acquire_saved__enter, ctx); + ret = spu_acquire(ctx); if (ret) return ret;