Re: [PATCHv2 02/16] atomics/treewide: remove redundant atomic_inc_not_zero() definitions

2018-06-04 Thread Palmer Dabbelt
On Tue, 29 May 2018 08:43:32 PDT (-0700), mark.rutl...@arm.com wrote: When atomic_inc_not_zero(v) isn't defined, will define it as falling back to atomic_add_unless((v), 1, 0), so there's no need for arch code to do so. There should be no functional change as a result of this patch. Signed-off

[PATCHv2 02/16] atomics/treewide: remove redundant atomic_inc_not_zero() definitions

2018-05-29 Thread Mark Rutland
When atomic_inc_not_zero(v) isn't defined, will define it as falling back to atomic_add_unless((v), 1, 0), so there's no need for arch code to do so. There should be no functional change as a result of this patch. Signed-off-by: Mark Rutland Acked-by: Peter Zijlstra (Intel) Cc: Boqun Feng Cc: