summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2010-02-22 16:53:27 +0100
committerThomas Gleixner <tglx@linutronix.de>2010-02-22 16:53:27 +0100
commitc6dafd2110e83a8e34aefcbb7b1cb764f3e9d436 (patch)
tree6e197703dc862ba1107fe7eda048a9c02353cf89 /net
parent160958ee05f0f5a529f581b033283920bb751f95 (diff)
downloadlwn-c6dafd2110e83a8e34aefcbb7b1cb764f3e9d436.tar.gz
lwn-c6dafd2110e83a8e34aefcbb7b1cb764f3e9d436.zip
net: mac80211: Make the softirq_count warning nonrt
ieee80211_rx() warns about softirq_count() == 0, which is always the case on RT enabled kernels. Make the warning nonrt only. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'net')
-rw-r--r--net/mac80211/rx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c
index 82a30c1bf3ab..e735c17ab096 100644
--- a/net/mac80211/rx.c
+++ b/net/mac80211/rx.c
@@ -2464,7 +2464,7 @@ void ieee80211_rx(struct ieee80211_hw *hw, struct sk_buff *skb)
struct ieee80211_supported_band *sband;
struct ieee80211_rx_status *status = IEEE80211_SKB_RXCB(skb);
- WARN_ON_ONCE(softirq_count() == 0);
+ WARN_ON_ONCE_NONRT(softirq_count() == 0);
if (WARN_ON(status->band < 0 ||
status->band >= IEEE80211_NUM_BANDS))