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-ust-comm.c
diff --git
a/src/lib/lttng-ust/lttng-ust-comm.c
b/src/lib/lttng-ust/lttng-ust-comm.c
index 7903550f5cfc32c599f46ba49e7f6f8d3327615d..e57caa12f7e23c73765b990fa804cf76685ba7f6 100644
(file)
--- a/
src/lib/lttng-ust/lttng-ust-comm.c
+++ b/
src/lib/lttng-ust/lttng-ust-comm.c
@@
-389,13
+389,13
@@
const char *get_lttng_home_dir(void)
static
void lttng_ust_nest_count_alloc_tls(void)
{
static
void lttng_ust_nest_count_alloc_tls(void)
{
-
asm volatile
("" : : "m" (URCU_TLS(lttng_ust_nest_count)));
+
__asm__ __volatile__
("" : : "m" (URCU_TLS(lttng_ust_nest_count)));
}
static
void lttng_ust_mutex_nest_alloc_tls(void)
{
}
static
void lttng_ust_mutex_nest_alloc_tls(void)
{
-
asm volatile
("" : : "m" (URCU_TLS(ust_mutex_nest)));
+
__asm__ __volatile__
("" : : "m" (URCU_TLS(ust_mutex_nest)));
}
/*
}
/*
This page took
0.023784 seconds
and
4
git commands to generate.