diff options
author | 2014-03-23 16:29:31 +0100 | |
---|---|---|
committer | 2014-08-14 12:48:03 +0200 | |
commit | f7d11e93ee97a37da1947b7c4e1794705a6f360c (patch) | |
tree | 1506947da50b64639fa758f8562b89cca739c45d /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | locking,arch,alpha: Fold atomic_ops (diff) | |
download | wireguard-linux-f7d11e93ee97a37da1947b7c4e1794705a6f360c.tar.xz wireguard-linux-f7d11e93ee97a37da1947b7c4e1794705a6f360c.zip |
locking,arch,arc: 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>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Vineet Gupta <vgupta@synopsys.com>
Link: http://lkml.kernel.org/r/20140508135851.886055622@infradead.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions