Replace 'asm' by '__asm__' (more C11 friendly)
ARM: Implement thread synchronization using spinlocks
Make the syscalls return in the fparam's return_value

They all return integers; there is no need to set the return value as
an output parameter.
Transfer also the 'errno' variable
Code cleanup
Updated .gitignore files