summaryrefslogtreecommitdiffstats
path: root/arch/arc
diff options
context:
space:
mode:
authorMark Rutland <mark.rutland@arm.com>2023-06-05 09:01:00 +0200
committerPeter Zijlstra <peterz@infradead.org>2023-06-05 09:57:13 +0200
commita7bafa7969da1c0e9c342c792d8224078d1c491c (patch)
tree6bc8363a7e055e935ecd6b5e55c793581de871b6 /arch/arc
parentlocking/atomic: remove fallback comments (diff)
downloadlinux-a7bafa7969da1c0e9c342c792d8224078d1c491c.tar.xz
linux-a7bafa7969da1c0e9c342c792d8224078d1c491c.zip
locking/atomic: hexagon: remove redundant arch_atomic_cmpxchg
Hexagon's implementation of arch_atomic_cmpxchg() is identical to its implementation of arch_cmpxchg(). Have it define arch_atomic_cmpxchg() in terms of arch_cmpxchg(), matching what it does for arch_atomic_xchg() and arch_xchg(). At the same time, remove the kerneldoc comments for hexagon's arch_atomic_xchg() and arch_atomic_cmpxchg(). The arch_atomic_*() namespace is shared by all architectures and the API should be documented centrally, and the comments aren't all that helpful as-is. There should be no functional change as a result of this patch. Signed-off-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Kees Cook <keescook@chromium.org> Link: https://lore.kernel.org/r/20230605070124.3741859-4-mark.rutland@arm.com
Diffstat (limited to 'arch/arc')
0 files changed, 0 insertions, 0 deletions