use of swp{b} is deprecated for ARMv6 and ARMv7