diff options
author | Guo Ren <[email protected]> | 2022-05-05 11:55:24 +0800 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2022-05-21 10:31:47 -0700 |
commit | 4420658a4a7b03e3f4afb925bdd3ab9e06c2c46f (patch) | |
tree | 45f954aa8ab4e4291b96c5ca33c35ce2038b65a9 /include/linux/fpga/fpga-mgr.h | |
parent | 1d7f6932c522ea95668e14265175ce3d753d0c24 (diff) |
riscv: atomic: Add custom conditional atomic operation implementation
Add conditional atomic operations' custom implementation (similar
to dec_if_positive), here is the list:
- arch_atomic_inc_unless_negative
- arch_atomic_dec_unless_positive
- arch_atomic64_inc_unless_negative
- arch_atomic64_dec_unless_positive
Signed-off-by: Guo Ren <[email protected]>
Signed-off-by: Guo Ren <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions