Skip to contentSkip to conversation

Fix: Fallback mechanism not working on platform where TLS is unsupported

PATCH Mathieu Desnoyers 1 participant 1 message Nov 8, 2012 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Mathieu Desnoyers

author Applied
#1 lore raw
Quoted 5 lines · * Christian Babeux ([email protected]) wrote:

The CONFIG_RCU_TLS entry in config.h.in is defined by default to "TLS". This has the unfortunate consequence of defining CONFIG_RCU_TLS on platform where TLS is unsupported and effectively disabling the pthread based fallback mechanism. This macro should be #undef by default and the AX_TLS m4 macro will properly detect if TLS is supported.

merged, thanks!

Mathieu

Quoted 19 lines
---
 urcu/config.h.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
urcu/config.h.in +1 -1
index de1d1d0..98ea365 100644
@@ -18,4 +18,4 @@
 #undef CONFIG_RCU_ARM_HAVE_DMB
 
 /* TLS provided by the compiler. */
-#define CONFIG_RCU_TLS TLS
+#undef CONFIG_RCU_TLS
Signature · 1 line
1.8.0
Signature · 4 lines
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com