Remove .globl directive for non existent symbol.
Use .set instead of .linkset, remove unnecessary cc_top predicate.
Remove unnecessary whitespace.
Add .size directive for swlock_try_acquire.
Properly capitalize, punctuate comments.
Simplify code.

Don't branch on the eq instruction just to set a boolean value -
instead directly use the result of the eq.
Acquiring a lock is not a side effect free operation.
Merge pull request #5 from rlsosborne/locks_tidy_up

Locks tidy up