OpenCloudOS-Kernel/scripts/atomic
Thomas Gleixner e5ab9eff46 atomics: Provide atomic_add_negative() variants
atomic_add_negative() does not provide the relaxed/acquire/release
variants.

Provide them in preparation for a new scalable reference count algorithm.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Link: https://lore.kernel.org/r/20230323102800.101763813@linutronix.de
2023-03-28 10:39:29 +02:00
..
fallbacks atomics: Provide atomic_add_negative() variants 2023-03-28 10:39:29 +02:00
atomic-tbl.sh locking/atomics: Change 'fold' to 'grep' 2019-02-11 14:27:33 +01:00
atomics.tbl atomics: Provide atomic_add_negative() variants 2023-03-28 10:39:29 +02:00
gen-atomic-fallback.sh locking/atomic: Add generic try_cmpxchg64 support 2022-05-18 00:08:27 +02:00
gen-atomic-instrumented.sh locking/atomic: Add generic try_cmpxchg64 support 2022-05-18 00:08:27 +02:00
gen-atomic-long.sh locking/atomic: add arch_atomic_long*() 2021-07-16 18:46:45 +02:00
gen-atomics.sh locking/atomic: centralize generated headers 2021-07-16 18:46:45 +02:00