aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/120-compat_rcu_dereference.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-04-30 15:55:24 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-04-30 15:55:24 +0000
commit9fdc8b404e4c545d0d3879f9db66e52bc87087f6 (patch)
tree4bffe07b687d3ba642475974f9280e14eaa26985 /package/mac80211/patches/120-compat_rcu_dereference.patch
parent261d88e81a61f5b11e1483ee7a89c6de27cac1d1 (diff)
downloadupstream-9fdc8b404e4c545d0d3879f9db66e52bc87087f6.tar.gz
upstream-9fdc8b404e4c545d0d3879f9db66e52bc87087f6.tar.bz2
upstream-9fdc8b404e4c545d0d3879f9db66e52bc87087f6.zip
mac80211: update to wireless-testing 2010-04-28
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21271 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.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/mac80211/patches/120-compat_rcu_dereference.patch b/package/mac80211/patches/120-compat_rcu_dereference.patch
index 37f4a2d0a1..f14a8ddbd4 100644
--- a/package/mac80211/patches/120-compat_rcu_dereference.patch
+++ b/package/mac80211/patches/120-compat_rcu_dereference.patch
@@ -1,8 +1,8 @@
--- a/include/linux/compat-2.6.34.h
+++ b/include/linux/compat-2.6.34.h
-@@ -164,6 +164,8 @@ static inline void device_unlock(struct
-
- #define rcu_dereference_check(p, c) rcu_dereference(p)
+@@ -197,6 +197,8 @@ do { \
+ */
+ #define sysfs_bin_attr_init(bin_attr) sysfs_attr_init(&(bin_attr)->attr)
+#define rcu_dereference_check(p, c) rcu_dereference(p)
+