From: Gabor Juhos <juhosg@openwrt.org>
To: Hauke Mehrtens <hauke@hauke-m.de>
Cc: lrodriguez@atheros.com, linux-wireless@vger.kernel.org
Subject: Re: [PATCH 1/2] [compat-2.6] Update compat.diff for master-2009-07-10
Date: Sun, 12 Jul 2009 20:32:06 +0200 [thread overview]
Message-ID: <4A5A2C26.90902@openwrt.org> (raw)
In-Reply-To: <1247397966-1374-1-git-send-email-hauke@hauke-m.de>
Hauke Mehrtens írta:
> This is now compiling with kernel at least 2.6.26 to 2.6.30.
> MAC80211_DRIVER_API_TRACER is only working with kernel >= 2.6.30.
>
> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
> ---
<snip>
>
> /*
> +--- a/net/mac80211/driver-trace.h
> ++++ b/net/mac80211/driver-trace.h
> +@@ -1,7 +1,9 @@
> + #if !defined(__MAC80211_DRIVER_TRACE) || defined(TRACE_HEADER_MULTI_READ)
> + #define __MAC80211_DRIVER_TRACE
> +
> ++#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,27))
> + #include <linux/tracepoint.h>
> ++#endif /* (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,30)) */
^^ typo?
> + #include <net/mac80211.h>
> + #include "ieee80211_i.h"
> +
> +@@ -645,4 +647,6 @@ TRACE_EVENT(drv_ampdu_action,
> + #define TRACE_INCLUDE_PATH .
> + #undef TRACE_INCLUDE_FILE
> + #define TRACE_INCLUDE_FILE driver-trace
> ++#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,30))
> + #include <trace/define_trace.h>
> ++#endif /* (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,30)) */
> --- a/net/mac80211/iface.c 2009-07-08 15:46:16.452255410 -0700
> +++ b/net/mac80211/iface.c 2009-07-08 15:46:06.060257895 -0700
> @@ -643,6 +643,7 @@
next prev parent reply other threads:[~2009-07-12 18:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-12 11:26 [PATCH 1/2] [compat-2.6] Update compat.diff for master-2009-07-10 Hauke Mehrtens
2009-07-12 11:26 ` [PATCH 2/2] [compat-2.6] Fixes kernel panic with kernel 2.6.28 while scanning Hauke Mehrtens
2009-07-12 18:32 ` Gabor Juhos [this message]
2009-07-12 20:26 ` [PATCH 1/3 v2] [compat-2.6] Update compat.diff for master-2009-07-10 Hauke Mehrtens
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A5A2C26.90902@openwrt.org \
--to=juhosg@openwrt.org \
--cc=hauke@hauke-m.de \
--cc=linux-wireless@vger.kernel.org \
--cc=lrodriguez@atheros.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).