X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Fcommon%2Fringbuffer-clients%2Ftemplate.h;h=fe8f8e020d22af883bd9daecd1f156620eb4308c;hb=742ac92a271c97c49bd79444594c0e8dfe099f9e;hp=824c344d5e7f4980f308774f77daee5f7cac7308;hpb=4c3d9cd0b8f8c270ea61474ea75418285e6afdd7;p=lttng-ust.git diff --git a/src/common/ringbuffer-clients/template.h b/src/common/ringbuffer-clients/template.h index 824c344d..fe8f8e02 100644 --- a/src/common/ringbuffer-clients/template.h +++ b/src/common/ringbuffer-clients/template.h @@ -74,7 +74,7 @@ static DEFINE_URCU_TLS(private_ctx_stack_t, private_ctx_stack); */ void RING_BUFFER_MODE_TEMPLATE_ALLOC_TLS(void) { - asm volatile ("" : : "m" (URCU_TLS(private_ctx_stack))); + __asm__ __volatile__ ("" : : "m" (URCU_TLS(private_ctx_stack))); } static inline uint64_t lib_ring_buffer_clock_read(