aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/120-compat_rcu_dereference.patch
blob: 4540662d2b709217d4dab7c45db80cf34e7c94d6 (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
@@ -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)
+
 #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,34)) */
 
 #endif /* LINUX_26_34_COMPAT_H */