The Wiki page linked below gives an overview of how to use the GCC Built-In Atomic Operations to add support for ARM-based systems.
http://fedoraproject.org/wiki/Architectures/ARM/GCCBuiltInAtomicOperations
Please let me know if you have questions, or suggestions for improvement.
Thank you,
d.marlin