> ARM Atomics: implement __sync_syncronize > > GCC doesn't provide an ARM implementation of it. It's easy to write one > for ARMv6 and above, while older archs will need this implemented as a > syscall just like other atomics. Does __sync_synchronize() really need to be anything more than a simple compiler-only barrier on ARMv5 and older? > +FUNCTION(__sync_synchronize): > + dmb > + bx lr > +FUNCTION_END(__sync_synchronize) I don't think that dmb is available on all ARMv6 processors (namely, ARM11). Paweł