Cleanup: use DEFINE_URCU_TLS_INIT for all CONFIG_RCU_TLS configurations
[lttng-ust.git] / liblttng-ust / lttng-context-uts-ns.c
index 77bb21bc51f16543490bf919a99c7e82d11005b4..13b7a46985b2b1ebb5bf658eccb8df154d06392d 100644 (file)
  * We cache the result to ensure we don't stat(2) the proc filesystem on
  * each event.
  */
-#ifdef CONFIG_RCU_TLS
-static DEFINE_URCU_TLS(ino_t, cached_uts_ns) = NS_INO_UNINITIALIZED;
-#else
 static DEFINE_URCU_TLS_INIT(ino_t, cached_uts_ns, NS_INO_UNINITIALIZED);
-#endif
 
 static
 ino_t get_uts_ns(void)
This page took 0.022753 seconds and 4 git commands to generate.