diff options
| author | Mark Rutland <[email protected]> | 2018-06-21 13:13:05 +0100 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2018-06-21 14:22:33 +0200 |
| commit | 8b47038e6d349cca950e75076566a0de990c4645 (patch) | |
| tree | 8d0ee00de1992445064fd9ed8d445dd3a6d97717 /tools/perf/scripts/python | |
| parent | bfc18e389c7a09fbbbed6bf4032396685b14246e (diff) | |
atomics/treewide: Remove redundant atomic_inc_not_zero() definitions
When atomic_inc_not_zero(v) isn't defined, <linux/atomic.h> 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 <[email protected]>
Reviewed-by: Will Deacon <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Acked-by: Palmer Dabbelt <[email protected]>
Cc: Boqun Feng <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: https://lore.kernel.org/lkml/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions