Clean up the pthread-only atomic stuff a little.

It looks like we can probably just use the generic GCC stuff instead;
the generated code looks pretty similar. We should come back to that.

These routines are only used by the pthread implementation, and
__bionic_atomic_inc isn't used, so we can remove it.

Change-Id: I8b5b8cb30a1b159f0e85c3675aee06ddef39b429
Merge "Clean up the pthread-only atomic stuff a little."
Fix typo.

Change-Id: I85157a6b2056b6c17cae193200960b8cae3cb3b3
Merge "Fix typo."
AArch64: Add support for AArch64 atomic operations

This patch adds support for AArch64 atomic operations. Some
of the stubs use the lightweight store/load exclusive.

Change-Id: Iaf704d048b2dc15bf08cf8e4f0c3ea9f2052fe13
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
Merge "AArch64: Add support for AArch64 atomic operations"
Merge branch 'master' of https://android.googlesource.com/platform/bionic into HEAD