Fallback mechanism not working on platform where TLS is unsupported
authorChristian Babeux <christian.babeux@efficios.com>
Thu, 8 Nov 2012 19:30:08 +0000 (14:30 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 8 Nov 2012 19:31:05 +0000 (14:31 -0500)
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.

Signed-off-by: Christian Babeux <christian.babeux@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
urcu/config.h.in

index de1d1d0ca0262460435a086501c883a2c051d0d7..98ea365d6040246eb0403da6a318a1ebb40fc2ff 100644 (file)
@@ -18,4 +18,4 @@
 #undef CONFIG_RCU_ARM_HAVE_DMB
 
 /* TLS provided by the compiler. */
-#define CONFIG_RCU_TLS TLS
+#undef CONFIG_RCU_TLS
This page took 0.024963 seconds and 4 git commands to generate.