12 lines
448 B
Diff
12 lines
448 B
Diff
--- 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 */
|