summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/linux/tracepoint.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/tracepoint.h b/include/linux/tracepoint.h
index 3de09fa8e01..62d13391a24 100644
--- a/include/linux/tracepoint.h
+++ b/include/linux/tracepoint.h
@@ -153,7 +153,8 @@ static inline void tracepoint_synchronize_unregister(void)
synchronize_sched();
}
+#define PARAMS(args...) args
#define TRACE_FORMAT(name, proto, args, fmt) \
- DECLARE_TRACE(name, TPPROTO(proto), TPARGS(args))
+ DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
#endif