aboutsummaryrefslogtreecommitdiffstats
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
commit05150b3da5ad50b073dd059d32c2f4f0e6d87d11 (patch)
tree2c0e485c29778ebd8641882aac425f9bb4f765ae /package/mac80211/patches/120-compat_rcu_dereference.patch
parentd6c27b7b066d898d6d74af4ba8b08b8e07e16ff6 (diff)
downloadupstream-05150b3da5ad50b073dd059d32c2f4f0e6d87d11.tar.gz
upstream-05150b3da5ad50b073dd059d32c2f4f0e6d87d11.tar.bz2
upstream-05150b3da5ad50b073dd059d32c2f4f0e6d87d11.zip
mac80211: update to wireless-testing 2010-04-09, add work-in-progress ar9300 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20777 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 */