diff options
author | Peter Zijlstra <peterz@infradead.org> | 2014-03-23 19:08:25 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2014-08-14 12:48:09 +0200 |
commit | d6dfe2509da935a15583cace7cd3837b1e8addef (patch) | |
tree | d36ac9c387b35d26114fabfaf5dd3dcff4f38112 /tools/perf/scripts/python/futex-contention.py | |
parent | d839bae4269aea46bff4133066a411cfba5c7c46 (diff) |
locking,arch,metag: Fold atomic_ops
Many of the atomic op implementations are the same except for one
instruction; fold the lot into a few CPP macros and reduce LoC.
This also prepares for easy addition of new ops.
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Acked-by: James Hogan <james.hogan@imgtec.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-metag@vger.kernel.org
Link: http://lkml.kernel.org/r/20140508135852.453864110@infradead.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions