From 8b98c13313a2082421f95cfde25f6c071b2099f7 Mon Sep 17 00:00:00 2001 From: "Luis R. Rodriguez" Date: Thu, 8 Oct 2009 16:36:08 -0400 Subject: [PATCH] Add 13-trace.patch for skipping a trace header Signed-off-by: Luis R. Rodriguez --- compat/patches/13-trace.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 compat/patches/13-trace.patch 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 -- 2.30.2