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.bab...@efficios.com>
---
 urcu/config.h.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/urcu/config.h.in b/urcu/config.h.in
index de1d1d0..98ea365 100644
--- a/urcu/config.h.in
+++ b/urcu/config.h.in
@@ -18,4 +18,4 @@
 #undef CONFIG_RCU_ARM_HAVE_DMB
 
 /* TLS provided by the compiler. */
-#define CONFIG_RCU_TLS TLS
+#undef CONFIG_RCU_TLS
-- 
1.8.0


_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Reply via email to