projects
/
deliverable
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup: use DEFINE_URCU_TLS_INIT for all CONFIG_RCU_TLS configurations
[deliverable/lttng-ust.git]
/
liblttng-ust
/
lttng-context-ipc-ns.c
diff --git
a/liblttng-ust/lttng-context-ipc-ns.c
b/liblttng-ust/lttng-context-ipc-ns.c
index 9890b03b5ed39340df16b5d162658b147529e2cd..029ba0876fc5d6761d0471ba9628ce6e4ed8ffdf 100644
(file)
--- a/
liblttng-ust/lttng-context-ipc-ns.c
+++ b/
liblttng-ust/lttng-context-ipc-ns.c
@@
-38,11
+38,7
@@
* We cache the result to ensure we don't stat(2) the proc filesystem on
* each event.
*/
* 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);
static DEFINE_URCU_TLS_INIT(ino_t, cached_ipc_ns, NS_INO_UNINITIALIZED);
-#endif
static
ino_t get_ipc_ns(void)
static
ino_t get_ipc_ns(void)
This page took
0.027308 seconds
and
5
git commands to generate.