2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 07:34:06 +08:00
linux-next/scripts/atomic
Mark Rutland bccf1ec369 locking/atomics: atomic-instrumented: simplify ifdeffery
Now that all architectures implement ARCH_ATOMIC, the fallbacks are
generated before the instrumented wrappers are generated. Due to this,
in atomic-instrumented.h we can assume that the whole set of atomic
functions has been generated. Likewise, atomic-instrumented.h doesn't
need to provide a preprocessor definition for every atomic it wraps.

This patch removes the redundant ifdeffery.

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

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Boqun Feng <boqun.feng@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Will Deacon <will@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20210525140232.53872-34-mark.rutland@arm.com
2021-05-26 13:20:52 +02:00
..
fallbacks locking/atomics: Flip fallbacks and instrumentation 2020-06-11 08:03:24 +02: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: delete !ARCH_ATOMIC remnants 2021-05-26 13:20:52 +02:00
gen-atomic-fallback.sh asm-generic/atomic: Add try_cmpxchg() fallbacks 2020-10-12 18:27:27 +02:00
gen-atomic-instrumented.sh locking/atomics: atomic-instrumented: simplify ifdeffery 2021-05-26 13:20:52 +02:00
gen-atomic-long.sh asm-generic/atomic: Use __always_inline for pure wrappers 2020-01-07 07:47:23 -08:00
gen-atomics.sh locking/atomic: delete !ARCH_ATOMIC remnants 2021-05-26 13:20:52 +02:00