diff options
| author | Jason Gunthorpe <[email protected]> | 2025-04-08 17:22:56 +0000 |
|---|---|---|
| committer | Vineet Gupta <[email protected]> | 2025-06-09 16:18:12 +0000 |
| commit | ea7caffedd011f7d40abe93a884ffbe46f122535 (patch) | |
| tree | 5150133adef8320934dd7a3f0a6405cd19138882 /lib/raid6/algos.c | |
| parent | Linux 6.16-rc1 (diff) | |
| download | kernel-ea7caffedd011f7d40abe93a884ffbe46f122535.tar.gz kernel-ea7caffedd011f7d40abe93a884ffbe46f122535.zip | |
ARC: atomics: Implement arch_atomic64_cmpxchg using _relaxed
The core atomic code has a number of macros where it elaborates
architecture primitives into more functions. ARC uses
arch_atomic64_cmpxchg() as it's architecture primitive which disable alot
of the additional functions.
Instead provide arch_cmpxchg64_relaxed() as the primitive and rely on the
core macros to create arch_cmpxchg64().
The macros will also provide other functions, for instance,
try_cmpxchg64_release(), giving a more complete implementation.
Suggested-by: Mark Rutland <[email protected]>
Link: https://lore.kernel.org/r/Z0747n5bSep4_1VX@J2N7QTR9R3
Signed-off-by: Jason Gunthorpe <[email protected]>
Signed-off-by: Vineet Gupta <[email protected]>
Diffstat (limited to 'lib/raid6/algos.c')
0 files changed, 0 insertions, 0 deletions
