X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu%2Farch_armv7l.h;h=125066b8239190b5be4580c11ba406a7baa8be7e;hp=b4049cdd183a03e4e98107077887b6a1479d1e24;hb=34cfb3e3e6e8f876e1fbe091d715c6893b907ed7;hpb=fdbddd0b309449efb4db1e70e88bb5c65963b478 diff --git a/urcu/arch_armv7l.h b/urcu/arch_armv7l.h index b4049cd..125066b 100644 --- a/urcu/arch_armv7l.h +++ b/urcu/arch_armv7l.h @@ -5,7 +5,7 @@ * arch_armv7l.h: trivial definitions for the ARMv7 architecture. * * Copyright (c) 2010 Paul E. McKenney, IBM Corporation. - * Copyright (c) 2009 Mathieu Desnoyers + * Copyright (c) 2009 Mathieu Desnoyers * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -29,14 +29,14 @@ extern "C" { #endif -#define mb() asm volatile("dmb":::"memory") +#define cmm_mb() asm volatile("dmb":::"memory") #include #include typedef unsigned long long cycles_t; -static inline cycles_t get_cycles (void) +static inline cycles_t caa_get_cycles (void) { cycles_t thetime; struct timeval tv;