summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/120-compat_rcu_dereference.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-04-10 16:50:15 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-04-10 16:50:15 +0000
commitcd8a80e0f4ada3b68c025dd9d13182b9254d7e7e (patch)
tree2c0e485c29778ebd8641882aac425f9bb4f765ae /package/mac80211/patches/120-compat_rcu_dereference.patch
parent35d8522c6a2841fe05f3bf02c4f3c2dbea81d8c7 (diff)
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 000000000..3c90a2864
--- /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 */