1 From d9c8d1c7ac965df0dd03488a742530cef4ef5873 Mon Sep 17 00:00:00 2001
2 From: Thomas Gleixner <tglx@linutronix.de>
3 Date: Thu, 21 Jul 2011 21:05:33 +0200
4 Subject: [PATCH 050/366] net/wireless: Use WARN_ON_NORT()
6 The softirq counter is meaningless on RT, so the check triggers a
9 Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
11 net/mac80211/rx.c | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
14 diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c
15 index 2b52838..7a681da 100644
16 --- a/net/mac80211/rx.c
17 +++ b/net/mac80211/rx.c
18 @@ -3580,7 +3580,7 @@ void ieee80211_rx_napi(struct ieee80211_hw *hw, struct sk_buff *skb,
19 struct ieee80211_supported_band *sband;
20 struct ieee80211_rx_status *status = IEEE80211_SKB_RXCB(skb);
22 - WARN_ON_ONCE(softirq_count() == 0);
23 + WARN_ON_ONCE_NONRT(softirq_count() == 0);
25 if (WARN_ON(status->band >= IEEE80211_NUM_BANDS))