mac80211: update b43-fwcutter
[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 @@ -200,6 +200,8 @@ do { \
4 #define usb_alloc_coherent(dev, size, mem_flags, dma) usb_buffer_alloc(dev, size, mem_flags, dma)
5 #define usb_free_coherent(dev, size, addr, dma) usb_buffer_free(dev, size, addr, dma)
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 */