linux/scripts/atomic
Peter Zijlstra 29f006fdef 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) <peterz@infradead.org>
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/159870621515.1229682.15506193091065001742.stgit@devnote2
2020-10-12 18:27:27 +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/atomics: Use sed(1) instead of non-standard head(1) option 2019-06-25 10:17:07 +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 asm-generic/atomic: Add try_cmpxchg() fallbacks 2020-10-12 18:27:27 +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/atomics: Flip fallbacks and instrumentation 2020-06-11 08:03:24 +02:00