X-Git-Url: https://git.lttng.org/?p=urcu.git;a=blobdiff_plain;f=urcu%2Farch_alpha.h;h=d62ac177cf58e110a15131f1926e813776995eba;hp=c9d4923d541c6e2841da5c7e8fc1fd1dfc5c881b;hb=85b577030e0dd244ed2d42aa5196a088e1e64dbb;hpb=6f9d9b49672c1b5d55e7937149c7ca692442bf4d diff --git a/urcu/arch_alpha.h b/urcu/arch_alpha.h index c9d4923..d62ac17 100644 --- a/urcu/arch_alpha.h +++ b/urcu/arch_alpha.h @@ -10,7 +10,7 @@ * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. -* + * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -28,13 +28,13 @@ extern "C" { #endif -#define mb() asm volatile("mb":::"memory") -#define wmb() asm volatile("wmb":::"memory") -#define read_barrier_depends() asm volatile("mb":::"memory") +#define cmm_mb() asm volatile("mb":::"memory") +#define cmm_wmb() asm volatile("wmb":::"memory") +#define cmm_read_barrier_depends() asm volatile("mb":::"memory") typedef unsigned long long cycles_t; -static inline cycles_t get_cycles (void) +static inline cycles_t caa_get_cycles (void) { return 0; /* not supported */ }