Cleanup: use DEFINE_URCU_TLS_INIT for all CONFIG_RCU_TLS configurations
[lttng-ust.git] / liblttng-ust / lttng-context-ipc-ns.c
index 64b3cd8e770c51cbd2587e4ab44463a0c2a7bd5c..029ba0876fc5d6761d0471ba9628ce6e4ed8ffdf 100644 (file)
 #include "lttng-tracer-core.h"
 #include "ns.h"
 
-
 /*
  * We cache the result to ensure we don't stat(2) the proc filesystem on
  * each event.
  */
-static DEFINE_URCU_TLS(ino_t, cached_ipc_ns) = NS_INO_UNINITIALIZED;
+static DEFINE_URCU_TLS_INIT(ino_t, cached_ipc_ns, NS_INO_UNINITIALIZED);
 
 static
 ino_t get_ipc_ns(void)
This page took 0.022982 seconds and 4 git commands to generate.