Introduce a dependency on DEFINE_URCU_TLS_INIT for all CONFIG_RCU_TLS
configurations.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
* 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_cgroup_ns) = NS_INO_UNINITIALIZED;
-#else
static DEFINE_URCU_TLS_INIT(ino_t, cached_cgroup_ns, NS_INO_UNINITIALIZED);
-#endif
static
ino_t get_cgroup_ns(void)
* 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_ipc_ns) = NS_INO_UNINITIALIZED;
-#else
static DEFINE_URCU_TLS_INIT(ino_t, cached_ipc_ns, NS_INO_UNINITIALIZED);
-#endif
static
ino_t get_ipc_ns(void)
* 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_net_ns) = NS_INO_UNINITIALIZED;
-#else
static DEFINE_URCU_TLS_INIT(ino_t, cached_net_ns, NS_INO_UNINITIALIZED);
-#endif
static
ino_t get_net_ns(void)
* 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)