Files
linux/include/asm-generic
Uros Bizjak 8fc4fddaf9 locking/generic: Wire up local{,64}_try_cmpxchg()
Implement generic support for local{,64}_try_cmpxchg().

Redirect to the atomic_ family of functions when the target
does not provide its own local.h definitions.

For 64-bit targets, implement local64_try_cmpxchg and
local64_cmpxchg using typed C wrappers that call local_
family of functions and provide additional checking
of their input arguments.

Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Link: https://lore.kernel.org/r/20230405141710.3551-3-ubizjak@gmail.com
Cc: Linus Torvalds <torvalds@linux-foundation.org>
2023-04-29 09:09:09 +02:00
..
2022-02-25 09:36:06 +01:00
2023-02-13 22:13:29 +01:00
2022-09-26 10:13:14 -07:00
2021-12-11 23:31:51 +01:00
2023-01-30 15:55:30 +01:00
2020-01-23 10:41:16 -08:00
2022-07-22 17:34:57 -05:00
2022-02-25 09:36:06 +01:00