Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib: Fix atomic64_add_unless return value convention
atomic64_add_unless must return 1 if it perfomed the add and 0 otherwise. The generic implementation did the opposite thing. Reported-by: H. Peter Anvin <[email protected]> Confirmed-by: Paul Mackerras <[email protected]> Signed-off-by: Luca Barbieri <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: H. Peter Anvin <[email protected]>
- Loading branch information