Re: [PATCH 02/13] atomics/treewide: remove redundant atomic_inc_not_zero() definitions

2018-05-24 Thread Mark Rutland
On Wed, May 23, 2018 at 02:35:22PM +0100, Mark Rutland wrote: > vWhen 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. Typo: s/vWhen/When/ I've fixed that up in the git branch. Mark.

Re: [PATCH 02/13] atomics/treewide: remove redundant atomic_inc_not_zero() definitions

2018-05-24 Thread Mark Rutland
On Wed, May 23, 2018 at 02:35:22PM +0100, Mark Rutland wrote: > vWhen 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. Typo: s/vWhen/When/ I've fixed that up in the git branch. Mark.

[PATCH 02/13] atomics/treewide: remove redundant atomic_inc_not_zero() definitions

2018-05-23 Thread Mark Rutland
vWhen 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 Cc: Boqun Feng

[PATCH 02/13] atomics/treewide: remove redundant atomic_inc_not_zero() definitions

2018-05-23 Thread Mark Rutland
vWhen 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 Cc: Boqun Feng Cc: Peter Zijlstra Cc: Will Deacon