From 24dc6664a6eb4f5b30f49a0d3d892228f02878b8 Mon Sep 17 00:00:00 2001 From: Xiao Guangrong Date: Tue, 25 Aug 2009 14:06:22 +0800 Subject: [PATCH] --- yaml --- r: 158456 b: refs/heads/master c: 5ac35daa9343936038a3c9c4f4d6d3fe6a2a7bd8 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/linux/tracepoint.h | 3 +-- trunk/include/trace/define_trace.h | 1 + 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 2cefea2ea5c7..46d8d39a9d7c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5079f3261ffd7fe4a537679af695f2328943a245 +refs/heads/master: 5ac35daa9343936038a3c9c4f4d6d3fe6a2a7bd8 diff --git a/trunk/include/linux/tracepoint.h b/trunk/include/linux/tracepoint.h index 5984ed04c03b..81709854f7ab 100644 --- a/trunk/include/linux/tracepoint.h +++ b/trunk/include/linux/tracepoint.h @@ -180,6 +180,7 @@ static inline void tracepoint_synchronize_unregister(void) } #define PARAMS(args...) args +#endif #ifndef TRACE_EVENT /* @@ -287,5 +288,3 @@ static inline void tracepoint_synchronize_unregister(void) #define TRACE_EVENT(name, proto, args, struct, assign, print) \ DECLARE_TRACE(name, PARAMS(proto), PARAMS(args)) #endif - -#endif diff --git a/trunk/include/trace/define_trace.h b/trunk/include/trace/define_trace.h index f7a7ae1e8f90..cd150b9d8e32 100644 --- a/trunk/include/trace/define_trace.h +++ b/trunk/include/trace/define_trace.h @@ -56,6 +56,7 @@ #include #endif +#undef TRACE_EVENT #undef TRACE_HEADER_MULTI_READ /* Only undef what we defined in this file */