Centos-kernel-stream-9/scripts/atomic
Waiman Long bbc5329965 locking/atomic: add arch_atomic_long*()
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2022806

commit 67d1b0de258ad066e1fc85d0ceaa75e107fb45bb
Author: Mark Rutland <mark.rutland@arm.com>
Date:   Tue, 13 Jul 2021 11:52:52 +0100

    locking/atomic: add arch_atomic_long*()

    Now that all architectures provide arch_{atomic,atomic64}_*(), we can
    build arch_atomic_long_*() atop these, which can be safely used in
    noinstr code. The regular atomic_long_*() wrappers are built atop these,
    as we do for {atomic,atomic64}_*() atop arch_{atomic,atomic64}_*().

    We don't provide arch_* versions of the cond_read*() variants, as we
    don't have arch_* versions of the underlying atomic/atomic64 functions
    (nor the smp_cond_load*() helpers these are typically based on).

    Note that the headers in this patch under include/linux/atomic/ are
    generated by the scripts in scripts/atomic/.

    Signed-off-by: Mark Rutland <mark.rutland@arm.com>
    Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
    Link: https://lore.kernel.org/r/20210713105253.7615-5-mark.rutland@arm.com

Signed-off-by: Waiman Long <longman@redhat.com>
2021-11-12 14:23:15 -05:00
..
fallbacks locking/atomic: remove ARCH_ATOMIC remanants 2021-11-12 14:23:14 -05:00
atomic-tbl.sh locking/atomics: Change 'fold' to 'grep' 2019-02-11 14:27:33 +01:00
atomics.tbl locking/atomics: Fix scripts/atomic/ script permissions 2018-11-01 12:45:46 +01:00
check-atomics.sh locking/atomic: centralize generated headers 2021-11-12 14:23:14 -05:00
gen-atomic-fallback.sh locking/atomic: remove ARCH_ATOMIC remanants 2021-11-12 14:23:14 -05:00
gen-atomic-instrumented.sh locking/atomic: add arch_atomic_long*() 2021-11-12 14:23:15 -05:00
gen-atomic-long.sh locking/atomic: add arch_atomic_long*() 2021-11-12 14:23:15 -05:00
gen-atomics.sh locking/atomic: centralize generated headers 2021-11-12 14:23:14 -05:00