]> Git Repo - linux.git/commit
alpha: Improve atomic_add_unless
authorRichard Henderson <[email protected]>
Thu, 11 Jul 2013 14:42:14 +0000 (07:42 -0700)
committerMatt Turner <[email protected]>
Fri, 19 Jul 2013 20:54:24 +0000 (13:54 -0700)
commit6da7539734d4e0f5caeea1e0efbb74d7b83db1ca
treef29b23ea3236acda9db434aa89052537f2a8092a
parenta5c6eae4d6763e50101494b392ef6518c0ef96e9
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 <[email protected]>
Signed-off-by: Matt Turner <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
arch/alpha/include/asm/atomic.h
This page took 0.049766 seconds and 4 git commands to generate.