summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/120-compat_rcu_dereference.patch
blob: 37f4a2d0a1d44ef0c7c3b1e1a90e5d9fdbd9f896 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- 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)
 
+#define rcu_dereference_check(p, c) rcu_dereference(p)
+
 #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,34)) */
 
 #endif /* LINUX_26_34_COMPAT_H */