X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=urcu%2Farch_alpha.h;h=51a1fff2f70a29fe216a58c5f2c894022f17edfa;hb=5481ddb381061bda64aebc039900d21cac6a6caf;hp=c9d4923d541c6e2841da5c7e8fc1fd1dfc5c881b;hpb=6f9d9b49672c1b5d55e7937149c7ca692442bf4d;p=urcu.git diff --git a/urcu/arch_alpha.h b/urcu/arch_alpha.h index c9d4923..51a1fff 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,9 +28,9 @@ 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;