2010-04-10 16:50:15 +00:00
|
|
|
--- a/include/linux/compat-2.6.34.h
|
|
|
|
+++ b/include/linux/compat-2.6.34.h
|
2010-05-15 15:56:51 +00:00
|
|
|
@@ -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)
|
2010-04-10 16:50:15 +00:00
|
|
|
|
|
|
|
+#define rcu_dereference_check(p, c) rcu_dereference(p)
|
|
|
|
+
|
|
|
|
#endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,34)) */
|
|
|
|
|
|
|
|
#endif /* LINUX_26_34_COMPAT_H */
|