mac80211: update to wireless-testing 2010-04-28
[openwrt.git] / package / mac80211 / patches / 120-compat_rcu_dereference.patch
1 --- a/include/linux/compat-2.6.34.h
2 +++ b/include/linux/compat-2.6.34.h
3 @@ -197,6 +197,8 @@ do {                                                        \
4   */
5  #define sysfs_bin_attr_init(bin_attr) sysfs_attr_init(&(bin_attr)->attr)
6  
7 +#define rcu_dereference_check(p, c) rcu_dereference(p)
8 +
9  #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,34)) */
10  
11  #endif /* LINUX_26_34_COMPAT_H */