* Masami Hiramatsu wrote:
> From: Peter Zijlstra
>
> 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)
> Acked-by: Will Deacon
From: Peter Zijlstra
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)
Acked-by: Will Deacon
---
arch/x86/include/asm/atomic.h
2 matches
Mail list logo