commit | 6da7539734d4e0f5caeea1e0efbb74d7b83db1ca | [log] [tgz] |
---|---|---|
author | Richard Henderson <rth@twiddle.net> | Thu Jul 11 07:42:14 2013 -0700 |
committer | Matt Turner <mattst88@gmail.com> | Fri Jul 19 13:54:24 2013 -0700 |
tree | f29b23ea3236acda9db434aa89052537f2a8092a | |
parent | a5c6eae4d6763e50101494b392ef6518c0ef96e9 [diff] |
alpha: Improve atomic_add_unless Use ll/sc loops instead of C loops around cmpxchg. Update the atomic64_add_unless block comment to match the code. Reviewed-and-Tested-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Richard Henderson <rth@twiddle.net>