diff options
author | Uros Bizjak <[email protected]> | 2023-04-05 16:17:07 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2023-04-29 09:09:09 +0200 |
commit | 8fc4fddaf9a184eea7da21290236a1764e608a01 (patch) | |
tree | 6443e9faadcb782b6cd239f34d74c4323d606567 /lib/mpi/mpi-mod.c | |
parent | e6ce9d741163af0b846637ce6550ae8a671b1588 (diff) |
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 <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Acked-by: Mark Rutland <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Cc: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions