aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/120-compat_rcu_dereference.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-05-15 15:56:51 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-05-15 15:56:51 +0000
commita39655c7fcc8e45815b07e88f254b7f831e56dee (patch)
treed38fecd4bf967fac0c49d6d2cbdc4aa93792b5a7 /package/mac80211/patches/120-compat_rcu_dereference.patch
parent6a4f17a03625c72b2d2835be84e6c971ed611930 (diff)
downloadupstream-a39655c7fcc8e45815b07e88f254b7f831e56dee.tar.gz
upstream-a39655c7fcc8e45815b07e88f254b7f831e56dee.tar.bz2
upstream-a39655c7fcc8e45815b07e88f254b7f831e56dee.zip
mac80211: update to wireless-testing 2010-05-12 plus some pending patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21454 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 f14a8ddbd4..4540662d2b 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
-@@ -197,6 +197,8 @@ do { \
- */
- #define sysfs_bin_attr_init(bin_attr) sysfs_attr_init(&(bin_attr)->attr)
+@@ -200,6 +200,8 @@ do { \
+ #define usb_alloc_coherent(dev, size, mem_flags, dma) usb_buffer_alloc(dev, size, mem_flags, dma)
+ #define usb_free_coherent(dev, size, addr, dma) usb_buffer_free(dev, size, addr, dma)
+#define rcu_dereference_check(p, c) rcu_dereference(p)
+