diff options
| author | Peter Zijlstra <[email protected]> | 2020-08-29 13:03:35 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2020-10-12 16:27:27 +0000 |
| commit | 29f006fdefe6f88abde973a0b0f20d2704e93fd4 (patch) | |
| tree | 11df0a506bb05fdd72c07a4fed5bbdb80b3b7bf5 /net/switchdev/switchdev.c | |
| parent | kprobes: Remove kretprobe hash (diff) | |
| download | kernel-29f006fdefe6f88abde973a0b0f20d2704e93fd4.tar.gz kernel-29f006fdefe6f88abde973a0b0f20d2704e93fd4.zip | |
asm-generic/atomic: Add try_cmpxchg() fallbacks
Only x86 provides try_cmpxchg() outside of the atomic_t interfaces,
provide generic fallbacks to create this interface from the widely
available cmpxchg() function.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Masami Hiramatsu <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Acked-by: Will Deacon <[email protected]>
Link: https://lore.kernel.org/r/159870621515.1229682.15506193091065001742.stgit@devnote2
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
