On 04/04 23:12:07, Maxim Uvarov wrote: > On 04/04/17 23:08, Brian Brooks wrote: > > On 04/04 22:17:48, Maxim Uvarov wrote: > >> On 04/04/17 21:48, Brian Brooks wrote:
[snip] > >>> +/* Load-exclusive with memory ordering */ > >>> +static inline bitset_t bitset_ldex(bitset_t *bs, int mo) > >>> +{ > >>> + return LDXR32(bs, mo); > >> > >> is it arm specific? > > > > Can you please explain? > > > > is macros LDXR32 arm specific? Or that can be also compiled on other > arches (x86, mips, ppc)? It is defined to an ARM specific instruction if ODP_CONFIG_USE_WFE is defined, otherwise it is defined to a normal atomic built-in. The WFE mechanisms should only be defined for ARM architecture. > Maxim.