From: Luis R. Rodriguez Date: Thu, 8 Oct 2009 20:36:08 +0000 (-0400) Subject: Add 13-trace.patch for skipping a trace header X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8b98c13313a2082421f95cfde25f6c071b2099f7;p=openwrt%2Fstaging%2Fblogic.git Add 13-trace.patch for skipping a trace header Signed-off-by: Luis R. Rodriguez --- diff --git a/compat/patches/13-trace.patch b/compat/patches/13-trace.patch new file mode 100644 index 000000000000..c43e7234b08c --- /dev/null +++ b/compat/patches/13-trace.patch @@ -0,0 +1,15 @@ +Older kernels do not have trace/define_trace.h [1] and if there +is something there that we can backport we will define it +in or compat headers. + +[1] http://lxr.linux.no/#linux+v2.6.31/include/trace/define_trace.h + +--- a/drivers/net/wireless/iwlwifi/iwl-devtrace.h 2009-10-08 16:21:09.000000000 -0400 ++++ b/drivers/net/wireless/iwlwifi/iwl-devtrace.h 2009-10-08 16:23:34.000000000 -0400 +@@ -175,4 +175,6 @@ + #define TRACE_INCLUDE_PATH . + #undef TRACE_INCLUDE_FILE + #define TRACE_INCLUDE_FILE iwl-devtrace ++#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,31)) + #include ++#endif