diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-04-12 22:13:47 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-04-15 11:32:45 +0200 |
commit | 7ffd70d3edcd96768ada03b9b524bff265f9b0b8 (patch) | |
tree | 07e6761a9677861b3afd14199669483ea6fb58d4 /patches/collateral-evolutions/network | |
parent | 16b78247d50ef72c80b568a31c189e5488cd4548 (diff) |
backports: patch tracing for older kernels
For some reason the tracing on older kernels requires
the tracing to be declared before it's defined; it's
broken when the trace header is only included to create
the tracepoints.
Since new kernels don't, add patches for the two places
that rely on the new behaviour.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'patches/collateral-evolutions/network')
-rw-r--r-- | patches/collateral-evolutions/network/74-define-tracing/ath6kl.patch | 10 | ||||
-rw-r--r-- | patches/collateral-evolutions/network/74-define-tracing/cfg80211.patch | 8 |
2 files changed, 18 insertions, 0 deletions
diff --git a/patches/collateral-evolutions/network/74-define-tracing/ath6kl.patch b/patches/collateral-evolutions/network/74-define-tracing/ath6kl.patch new file mode 100644 index 00000000..5910f54d --- /dev/null +++ b/patches/collateral-evolutions/network/74-define-tracing/ath6kl.patch @@ -0,0 +1,10 @@ +--- a/drivers/net/wireless/ath/ath6kl/trace.c ++++ b/drivers/net/wireless/ath/ath6kl/trace.c +@@ -16,6 +16,7 @@ + + #include <linux/module.h> + ++#include "trace.h" + #define CREATE_TRACE_POINTS + #include "trace.h" + diff --git a/patches/collateral-evolutions/network/74-define-tracing/cfg80211.patch b/patches/collateral-evolutions/network/74-define-tracing/cfg80211.patch new file mode 100644 index 00000000..eeab23db --- /dev/null +++ b/patches/collateral-evolutions/network/74-define-tracing/cfg80211.patch @@ -0,0 +1,8 @@ +--- a/net/wireless/trace.c ++++ b/net/wireless/trace.c +@@ -1,4 +1,5 @@ + #include <linux/module.h> ++#include "trace.h" + + #ifndef __CHECKER__ + #define CREATE_TRACE_POINTS |