linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] compat: add rcu_dereference_check
@ 2010-04-09 17:50 Felix Fietkau
  2010-04-09 19:10 ` Luis R. Rodriguez
  2010-04-12 18:47 ` Luis R. Rodriguez
  0 siblings, 2 replies; 3+ messages in thread
From: Felix Fietkau @ 2010-04-09 17:50 UTC (permalink / raw)
  To: linux-wireless; +Cc: Luis R. Rodriguez

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
---
--- a/include/linux/compat-2.6.34.h
+++ b/include/linux/compat-2.6.34.h
@@ -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 */

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-04-12 18:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-09 17:50 [PATCH] compat: add rcu_dereference_check Felix Fietkau
2010-04-09 19:10 ` Luis R. Rodriguez
2010-04-12 18:47 ` Luis R. Rodriguez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).