summaryrefslogtreecommitdiff
path: root/arch/riscv/include/asm/atomic.h
AgeCommit message (Expand)AuthorFilesLines
2021-05-26locking/atomic: riscv: move to ARCH_ATOMICMark Rutland1-64/+64
2020-07-29locking/atomic: Move ATOMIC_INIT into linux/types.hHerbert Xu1-2/+0
2019-06-03locking/atomic, riscv: Use s64 for atomic64Mark Rutland1-21/+23
2019-06-03locking/atomic, riscv: Fix atomic64_sub_if_positive() offset argumentMark Rutland1-1/+1
2019-05-24treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 36Thomas Gleixner1-5/+1
2018-12-21riscv, atomic: Add #define's for the atomic_{cmp,}xchg_*() variantsAndrea Parri1-0/+9
2018-07-25locking/atomics: Rework ordering barriersMark Rutland1-12/+5
2018-06-21atomics/treewide: Make unconditional inc/dec ops optionalMark Rutland1-76/+0
2018-06-21atomics/treewide: Make test ops optionalMark Rutland1-46/+0
2018-06-21atomics/riscv: Define atomic64_fetch_add_unless()Mark Rutland1-6/+2
2018-06-21atomics/treewide: Make atomic_fetch_add_unless() optionalMark Rutland1-0/+1
2018-06-21atomics/treewide: Make atomic64_inc_not_zero() optionalMark Rutland1-7/+0
2018-06-21atomics/treewide: Remove redundant atomic_inc_not_zero() definitionsMark Rutland1-9/+0
2018-06-21atomics/treewide: Rename __atomic_add_unless() => atomic_fetch_add_unless()Mark Rutland1-2/+2
2018-04-03riscv/atomic: Strengthen implementations with fencesAndrea Parri1-149/+268
2017-11-29RISC-V: Comment on why {,cmp}xchg is ordered how it isPalmer Dabbelt1-2/+7
2017-11-29RISC-V: Remove unused arguments from ATOMIC_OPPalmer Dabbelt1-47/+47
2017-09-27RISC-V: Atomic and Locking CodePalmer Dabbelt1-0/+375