Skip to contentSkip to conversation

compat: add rcu_dereference_check

PATCH In review Felix Fietkau 2 participants 3 messages Apr 9, 2010 – Apr 12, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 compat: add rcu_dereference_check

---

include/linux/compat-2.6.34.h +2 -0
@@ -162,6 +162,8 @@ static inline void device_unlock(struct
 	.prod_id_hash = { 0, 0, (vh3), 0 }, }
 #endif
 
+#define rcu_dereference_check(p, c) rcu_dereference(p)
+
 #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,34)) */
 
 #endif /* LINUX_26_34_COMPAT_H */