3c90a2864287a086bd8f454559a596245fa6a667
[openwrt/svn-archive/archive.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 @@ -162,6 +162,8 @@ static inline void device_unlock(struct
4 .prod_id_hash = { 0, 0, (vh3), 0 }, }
5 #endif
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 */