From: Christian Babeux Date: Thu, 8 Nov 2012 19:30:08 +0000 (-0500) Subject: Fallback mechanism not working on platform where TLS is unsupported X-Git-Tag: v0.8.0~158 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;h=8cbc3cdca7f1320e3c2412654091fe94931ce62b;hp=58e9f838bba4457b8ad2723f1d13f74e77345996;p=urcu.git Fallback mechanism not working on platform where TLS is unsupported 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 Signed-off-by: Mathieu Desnoyers --- 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