RTS: fix xchg/cas fcns to invoke memory barrier on ARMv7 platform
This patch fixes RTS' xchg and cas functions. On ARMv7 it is recommended
to add memory barrier after using ldrex/strex for implementing atomic
lock or operation.
Manuel M T Chakravarty <chak@cse.unsw.edu.au> | Aug 10 2011, 7:03 AM |
bgamari | Aug 25 2016, 1:39 PM |