[RFC patch 39/41] SPUFS markers API update

Mathieu Desnoyers
2009-03-05T23:23:01Z

[-- Attachment #1: spufs-markers-api-update.patch --]
[-- Type: text/plain, Size: 1093 bytes --]

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
---
arch/powerpc/platforms/cell/spufs/spufs.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

Index: linux-2.6-lttng/arch/powerpc/platforms/cell/spufs/spufs.h
===================================================================
--- linux-2.6-lttng.orig/arch/powerpc/platforms/cell/spufs/spufs.h 2009-02-06 14:45:12.000000000 -0500
+++ linux-2.6-lttng/arch/powerpc/platforms/cell/spufs/spufs.h 2009-02-06 15:40:25.000000000 -0500
@@ -373,9 +373,9 @@ extern void spu_free_lscsa(struct spu_st
extern void spuctx_switch_state(struct spu_context *ctx,
enum spu_utilization_state new_state);

-#define spu_context_trace(name, ctx, spu) \
- trace_mark(name, "ctx %p spu %p", ctx, spu);
+#define spu_context_trace(name, ctx, _spu) \
+ trace_mark(spu, name, "ctx %p spu %p", ctx, _spu);
#define spu_context_nospu_trace(name, ctx) \
- trace_mark(name, "ctx %p", ctx);
+ trace_mark(spu, name, "ctx %p", ctx);

#endif