android_kernel_sony_sdm845/arch
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Mark Rutland cd04eb1154 UPSTREAM: atomics/alpha: Define atomic64_fetch_add_unless()
As a step towards unifying the atomic/atomic64/atomic_long APIs, this
patch converts the arch/alpha implementation of atomic64_add_unless() into
an implementation of atomic64_fetch_add_unless().

A wrapper in <linux/atomic.h> will build atomic_add_unless() atop of
this, provided it is given a preprocessor definition.

No functional change is intended 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: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Matt Turner <mattst88@gmail.com>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/lkml/20180621121321.4761-10-mark.rutland@arm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Sorayukii <sorayukii69@gmail.com>
2026-05-15 17:59:15 +07:00
..
alpha UPSTREAM: atomics/alpha: Define atomic64_fetch_add_unless() 2026-05-15 17:59:15 +07:00
arc BACKPORT: atomics/treewide: Make atomic_fetch_add_unless() optional 2026-05-15 17:59:14 +07:00
arm BACKPORT: atomics/treewide: Make atomic_fetch_add_unless() optional 2026-05-15 17:59:14 +07:00
arm64 BACKPORT: atomics/treewide: Make atomic64_fetch_add_unless() optional 2026-05-15 17:59:14 +07:00
avr32 BACKPORT: net: Introduce SO_INCOMING_NAPI_ID 2026-05-15 17:55:02 +07:00
blackfin BACKPORT: Construct init thread stack in the linker script rather than by union 2026-05-15 17:59:01 +07:00
c6x BACKPORT: Construct init thread stack in the linker script rather than by union 2026-05-15 17:59:01 +07:00
cris BACKPORT: Construct init thread stack in the linker script rather than by union 2026-05-15 17:59:01 +07:00
frv BACKPORT: bpf: correct broken uapi for BPF_PROG_TYPE_PERF_EVENT program type 2026-05-15 17:59:13 +07:00
h8300 BACKPORT: atomics/treewide: Make atomic_fetch_add_unless() optional 2026-05-15 17:59:14 +07:00
hexagon BACKPORT: atomics/treewide: Make atomic_fetch_add_unless() optional 2026-05-15 17:59:14 +07:00
ia64 BACKPORT: atomics/treewide: Make atomic64_fetch_add_unless() optional 2026-05-15 17:59:14 +07:00
m32r BACKPORT: Construct init thread stack in the linker script rather than by union 2026-05-15 17:59:01 +07:00
m68k BACKPORT: atomics/treewide: Make atomic_fetch_add_unless() optional 2026-05-15 17:59:14 +07:00
metag BACKPORT: Construct init thread stack in the linker script rather than by union 2026-05-15 17:59:01 +07:00
microblaze BACKPORT: Construct init thread stack in the linker script rather than by union 2026-05-15 17:59:01 +07:00
mips BACKPORT: atomics/treewide: Make atomic64_fetch_add_unless() optional 2026-05-15 17:59:14 +07:00
mn10300 BACKPORT: Construct init thread stack in the linker script rather than by union 2026-05-15 17:59:01 +07:00
nios2 BACKPORT: Construct init thread stack in the linker script rather than by union 2026-05-15 17:59:01 +07:00
openrisc BACKPORT: Construct init thread stack in the linker script rather than by union 2026-05-15 17:59:01 +07:00
parisc BACKPORT: atomics/treewide: Make atomic64_fetch_add_unless() optional 2026-05-15 17:59:14 +07:00
powerpc BACKPORT: atomics/treewide: Make atomic_fetch_add_unless() optional 2026-05-15 17:59:14 +07:00
s390 BACKPORT: atomics/treewide: Make atomic64_inc_not_zero() optional 2026-05-15 17:59:14 +07:00
score BACKPORT: Construct init thread stack in the linker script rather than by union 2026-05-15 17:59:01 +07:00
sh BACKPORT: atomics/treewide: Make atomic_fetch_add_unless() optional 2026-05-15 17:59:14 +07:00
sparc BACKPORT: atomics/treewide: Make atomic64_fetch_add_unless() optional 2026-05-15 17:59:14 +07:00
tile BACKPORT: Construct init thread stack in the linker script rather than by union 2026-05-15 17:59:01 +07:00
um BACKPORT: Construct init thread stack in the linker script rather than by union 2026-05-15 17:59:01 +07:00
unicore32 BACKPORT: Construct init thread stack in the linker script rather than by union 2026-05-15 17:59:01 +07:00
x86 UPSTREAM: bpf: Support attaching tracing BPF program to other BPF programs 2026-05-15 17:59:13 +07:00
xtensa BACKPORT: atomics/treewide: Make atomic_fetch_add_unless() optional 2026-05-15 17:59:14 +07:00
.gitignore
Kconfig BACKPORT: Construct init thread stack in the linker script rather than by union 2026-05-15 17:59:01 +07:00