summaryrefslogtreecommitdiffstats
path: root/arch/riscv/include/asm/atomic.h
AgeCommit message (Expand)AuthorLines
2023-04-29locking/arch: Rename all internal __xchg() names to __arch_xchg()Andrzej Hajda-1/+1
2022-05-21riscv: atomic: Add custom conditional atomic operation implementationGuo Ren-0/+82
2022-05-21riscv: atomic: Optimize dec_if_positive functionsGuo Ren-10/+10
2021-05-26locking/atomic: riscv: move to ARCH_ATOMICMark Rutland-64/+64
2020-07-29locking/atomic: Move ATOMIC_INIT into linux/types.hHerbert Xu-2/+0
2019-06-03locking/atomic, riscv: Use s64 for atomic64Mark Rutland-21/+23
2019-06-03locking/atomic, riscv: Fix atomic64_sub_if_positive() offset argumentMark Rutland-1/+1
2019-05-24treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 36Thomas Gleixner-5/+1
2018-12-21riscv, atomic: Add #define's for the atomic_{cmp,}xchg_*() variantsAndrea Parri-0/+9
2018-07-25locking/atomics: Rework ordering barriersMark Rutland-12/+5
2018-06-21atomics/treewide: Make unconditional inc/dec ops optionalMark Rutland-76/+0
2018-06-21atomics/treewide: Make test ops optionalMark Rutland-46/+0
2018-06-21atomics/riscv: Define atomic64_fetch_add_unless()Mark Rutland-6/+2
2018-06-21atomics/treewide: Make atomic_fetch_add_unless() optionalMark Rutland-0/+1
2018-06-21atomics/treewide: Make atomic64_inc_not_zero() optionalMark Rutland-7/+0
2018-06-21atomics/treewide: Remove redundant atomic_inc_not_zero() definitionsMark Rutland-9/+0
2018-06-21atomics/treewide: Rename __atomic_add_unless() => atomic_fetch_add_unless()Mark Rutland-2/+2
2018-04-02riscv/atomic: Strengthen implementations with fencesAndrea Parri-149/+268
2017-11-28RISC-V: Comment on why {,cmp}xchg is ordered how it isPalmer Dabbelt-2/+7
2017-11-28RISC-V: Remove unused arguments from ATOMIC_OPPalmer Dabbelt-47/+47
2017-09-26RISC-V: Atomic and Locking CodePalmer Dabbelt-0/+375