aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/linux/tracepoint.h3
-rw-r--r--include/trace/define_trace.h1
2 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/tracepoint.h b/include/linux/tracepoint.h
index 5984ed04c03b..81709854f7ab 100644
--- a/include/linux/tracepoint.h
+++ b/include/linux/tracepoint.h
@@ -180,6 +180,7 @@ static inline void tracepoint_synchronize_unregister(void)
180} 180}
181 181
182#define PARAMS(args...) args 182#define PARAMS(args...) args
183#endif
183 184
184#ifndef TRACE_EVENT 185#ifndef TRACE_EVENT
185/* 186/*
@@ -287,5 +288,3 @@ static inline void tracepoint_synchronize_unregister(void)
287#define TRACE_EVENT(name, proto, args, struct, assign, print) \ 288#define TRACE_EVENT(name, proto, args, struct, assign, print) \
288 DECLARE_TRACE(name, PARAMS(proto), PARAMS(args)) 289 DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
289#endif 290#endif
290
291#endif
diff --git a/include/trace/define_trace.h b/include/trace/define_trace.h
index f7a7ae1e8f90..cd150b9d8e32 100644
--- a/include/trace/define_trace.h
+++ b/include/trace/define_trace.h
@@ -56,6 +56,7 @@
56#include <trace/ftrace.h> 56#include <trace/ftrace.h>
57#endif 57#endif
58 58
59#undef TRACE_EVENT
59#undef TRACE_HEADER_MULTI_READ 60#undef TRACE_HEADER_MULTI_READ
60 61
61/* Only undef what we defined in this file */ 62/* Only undef what we defined in this file */