summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/120-compat_rcu_dereference.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-04-10 16:50:15 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-04-10 16:50:15 +0000
commitf98e55faf0468bda5773b8276a9d5cdd530f3b80 (patch)
tree655ee3232e58f2f38f6aa6d5930b1df18f2ccb79 /package/mac80211/patches/120-compat_rcu_dereference.patch
parent8f25fb608678fa9d5e785f799a21a863b9220f67 (diff)
downloadmaster-31e0f0ae-f98e55faf0468bda5773b8276a9d5cdd530f3b80.tar.gz
master-31e0f0ae-f98e55faf0468bda5773b8276a9d5cdd530f3b80.tar.bz2
master-31e0f0ae-f98e55faf0468bda5773b8276a9d5cdd530f3b80.zip
mac80211: update to wireless-testing 2010-04-09, add work-in-progress ar9300 patches
SVN-Revision: 20777
Diffstat (limited to 'package/mac80211/patches/120-compat_rcu_dereference.patch')
-rw-r--r--package/mac80211/patches/120-compat_rcu_dereference.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/mac80211/patches/120-compat_rcu_dereference.patch b/package/mac80211/patches/120-compat_rcu_dereference.patch
new file mode 100644
index 0000000000..3c90a28642
--- /dev/null
+++ b/package/mac80211/patches/120-compat_rcu_dereference.patch
@@ -0,0 +1,11 @@
+--- a/include/linux/compat-2.6.34.h
++++ b/include/linux/compat-2.6.34.h
+@@ -162,6 +162,8 @@ static inline void device_unlock(struct
+ .prod_id_hash = { 0, 0, (vh3), 0 }, }
+ #endif
+
++#define rcu_dereference_check(p, c) rcu_dereference(p)
++
+ #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,34)) */
+
+ #endif /* LINUX_26_34_COMPAT_H */