1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-07 23:51:54 +02:00
openwrt-xburst/package/mac80211/patches/120-compat_rcu_dereference.patch
nbd cd8a80e0f4 mac80211: update to wireless-testing 2010-04-09, add work-in-progress ar9300 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20777 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-10 16:50:15 +00:00

12 lines
338 B
Diff

--- a/include/linux/compat-2.6.34.h
+++ b/include/linux/compat-2.6.34.h
@@ -162,6 +162,8 @@ static inline void device_unlock(struct
.prod_id_hash = { 0, 0, (vh3), 0 }, }
#endif
+#define rcu_dereference_check(p, c) rcu_dereference(p)
+
#endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,34)) */
#endif /* LINUX_26_34_COMPAT_H */