Disable using swp which is deprecated in armv6

Remove the compile time warning