projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: c99: use __asm__ __volatile__
[lttng-ust.git]
/
src
/
lib
/
lttng-ust
/
lttng-context-net-ns.c
diff --git
a/src/lib/lttng-ust/lttng-context-net-ns.c
b/src/lib/lttng-ust/lttng-context-net-ns.c
index 66fcb045ee776bd2a21b03a12e0bea456f51048a..4f62c0551f1d23c622566b967451c7b3637cb366 100644
(file)
--- a/
src/lib/lttng-ust/lttng-context-net-ns.c
+++ b/
src/lib/lttng-ust/lttng-context-net-ns.c
@@
-155,7
+155,7
@@
error_find_context:
*/
void lttng_ust_net_ns_init_thread(int flags)
{
*/
void lttng_ust_net_ns_init_thread(int flags)
{
-
asm volatile
("" : : "m" (URCU_TLS(cached_net_ns)));
+
__asm__ __volatile__
("" : : "m" (URCU_TLS(cached_net_ns)));
if (flags & LTTNG_UST_INIT_THREAD_CONTEXT_CACHE)
(void)get_net_ns();
}
if (flags & LTTNG_UST_INIT_THREAD_CONTEXT_CACHE)
(void)get_net_ns();
}
This page took
0.02727 seconds
and
4
git commands to generate.