--- a/include/linux/compat-2.6.34.h +++ b/include/linux/compat-2.6.34.h @@ -197,6 +197,8 @@ do { \ */ #define sysfs_bin_attr_init(bin_attr) sysfs_attr_init(&(bin_attr)->attr) +#define rcu_dereference_check(p, c) rcu_dereference(p) + #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,34)) */ #endif /* LINUX_26_34_COMPAT_H */