arch: arm: Use ldrex & strex to perform swap

For ARMv7 & above the swp instructions are deprecated. Instead use
ldrex and strex to perform swap operations.
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dai0425/BABCAIHG.html

Change-Id: Ibd1135d76b1920f48c884f16eaabb0d69a750f78
1 file changed