*/
void lttng_ust_perf_counter_init_thread(int flags)
{
- asm volatile ("" : : "m" (URCU_TLS(ust_perf_mutex_nest)));
+ __asm__ __volatile__ ("" : : "m" (URCU_TLS(ust_perf_mutex_nest)));
(void)flags;
}
{
unsigned int low, high;
- asm volatile("rdpmc" : "=a" (low), "=d" (high) : "c" (counter));
+ __asm__ __volatile__("rdpmc" : "=a" (low), "=d" (high) : "c" (counter));
return low | ((uint64_t) high) << 32;
}