Prev: kernel: local_irq_{save,restore}_nmi()
Next: [PATCH v2] x86: Call setup_early_printk before first call to early_printk
From: Steven Rostedt on 6 Apr 2010 22:00 John, You can pull this or just use this patch. Which ever you prefer. Please pull the latest wireless tree, which can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace.git wireless Steven Rostedt (1): tracing/mac80211: Move TRACE_SYSTEM out of #if protection ---- net/mac80211/driver-trace.h | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) --------------------------- commit 27322da6e367b9e83d6b734f9a9ca3b8827d7b24 Author: Steven Rostedt <srostedt(a)redhat.com> Date: Tue Apr 6 21:50:55 2010 -0400 tracing/mac80211: Move TRACE_SYSTEM out of #if protection As explained in: commit d0b6e04a4cd8360e3c9c419f7c30a3081a0c142a tracing/events: Move TRACE_SYSTEM outside of include guard The TRACE_SYSTEM must be outside the #if include protection. Cc: Johannes Berg <johannes(a)sipsolutions.net> Cc: John W. Linville <linville(a)tuxdriver.com> Signed-off-by: Steven Rostedt <rostedt(a)goodmis.org> diff --git a/net/mac80211/driver-trace.h b/net/mac80211/driver-trace.h index 41baf73..f5a4239 100644 --- a/net/mac80211/driver-trace.h +++ b/net/mac80211/driver-trace.h @@ -1,3 +1,6 @@ +#undef TRACE_SYSTEM +#define TRACE_SYSTEM mac80211 + #if !defined(__MAC80211_DRIVER_TRACE) || defined(TRACE_HEADER_MULTI_READ) #define __MAC80211_DRIVER_TRACE @@ -11,9 +14,6 @@ static inline void trace_ ## name(proto) {} #endif -#undef TRACE_SYSTEM -#define TRACE_SYSTEM mac80211 - #define MAXNAME 32 #define LOCAL_ENTRY __array(char, wiphy_name, 32) #define LOCAL_ASSIGN strlcpy(__entry->wiphy_name, wiphy_name(local->hw.wiphy), MAXNAME) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |