diff options
author | Jason Low <[email protected]> | 2016-06-03 22:26:02 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-06-08 15:16:42 +0200 |
commit | 8ee62b1870be8e630158701632a533d0378e15b8 (patch) | |
tree | 18f68e695ee974f059703e75957e201695049cb9 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 055ce0fd1b86c204430cbc0887165599d6e15090 (diff) |
locking/rwsem: Convert sem->count to 'atomic_long_t'
Convert the rwsem count variable to an atomic_long_t since we use it
as an atomic variable. This also allows us to remove the
rwsem_atomic_{add,update}() "abstraction" which would now be an unnecesary
level of indirection. In follow up patches, we also remove the
rwsem_atomic_{add,update}() definitions across the various architectures.
Suggested-by: Peter Zijlstra <[email protected]>
Signed-off-by: Jason Low <[email protected]>
[ Build warning fixes on various architectures. ]
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Davidlohr Bueso <[email protected]>
Cc: Fenghua Yu <[email protected]>
Cc: Heiko Carstens <[email protected]>
Cc: Jason Low <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Martin Schwidefsky <[email protected]>
Cc: Paul E. McKenney <[email protected]>
Cc: Peter Hurley <[email protected]>
Cc: Terry Rudd <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Tim Chen <[email protected]>
Cc: Tony Luck <[email protected]>
Cc: Waiman Long <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions