android_kernel_sony_sdm845/arch/sparc
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Mark Rutland 1da7b4a1aa BACKPORT: atomics/treewide: Make atomic64_fetch_add_unless() optional
Architectures with atomic64_fetch_add_unless() provide a preprocessor
symbol if they do so, and all other architectures have trivial C
implementations of atomic64_add_unless() which are near-identical.

Let's unify the trivial definitions of atomic64_fetch_add_unless() in
<linux/atomic.h>, so that we always have both
atomic64_fetch_add_unless() and atomic64_add_unless() with less
boilerplate code.

This means that atomic64_add_unless() is always implemented in core
code, and the instrumented atomics are updated accordingly.

There should be no functional change as a result of this patch.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Will Deacon <will.deacon@arm.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Boqun Feng <boqun.feng@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/lkml/20180621121321.4761-15-mark.rutland@arm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Sorayukii <sorayukii69@gmail.com>
2026-05-15 17:59:14 +07:00
..
boot
configs sparc/defconfigs: Remove CONFIG_IPV6_PRIVACY 2016-04-21 16:43:44 -04:00
crypto crypto: hash - annotate algorithms taking optional key 2018-02-25 11:05:43 +01:00
include BACKPORT: atomics/treewide: Make atomic64_fetch_add_unless() optional 2026-05-15 17:59:14 +07:00
kernel This is the 4.9.285 stable release 2021-10-06 10:40:17 +02:00
lib BACKPORT: atomics/treewide: Rename __atomic_add_unless() => atomic_fetch_add_unless() 2026-05-15 17:56:39 +07:00
math-emu
mm treewide: Backport new vmalloc for large performance benefits 2026-05-15 17:48:25 +07:00
net BACKPORT: bpf: Introduce BPF nospec instruction for mitigating Spectre v4 2026-05-15 17:57:05 +07:00
oprofile
power sparc64: Prevent perf from running during super critical sections 2017-08-12 19:31:23 -07:00
prom sparc: fixing ident and beautifying code 2016-10-06 01:46:40 -04:00
Kbuild
Kconfig UPSTREAM: sparc64: Add eBPF JIT. 2026-05-15 17:54:37 +07:00
Kconfig.debug
Makefile sparc32: Add -Wa,-Av8 to KBUILD_CFLAGS. 2016-03-01 00:24:04 -05:00