instrumentation: Wire up cmpxchg128()
authorPeter Zijlstra <peterz@infradead.org>
Wed, 31 May 2023 13:08:37 +0000 (15:08 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 5 Jun 2023 07:36:36 +0000 (09:36 +0200)
commit8c8b096a23d12fedf3c0f50524f30113ef97aa8c
tree94e6f6303bca1a2c99896b7f9d66dc93aa2aab2b
parentb23e139d0b66c0216e7e9361a5021290395f504c
instrumentation: Wire up cmpxchg128()

Wire up the cmpxchg128 family in the atomic wrapper scripts.

These provide the generic cmpxchg128 family of functions from the
arch_ prefixed version, adding explicit instrumentation where needed.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Tested-by: Mark Rutland <mark.rutland@arm.com>
Link: https://lore.kernel.org/r/20230531132323.519237070@infradead.org
include/linux/atomic/atomic-arch-fallback.h
include/linux/atomic/atomic-instrumented.h
scripts/atomic/gen-atomic-fallback.sh
scripts/atomic/gen-atomic-instrumented.sh