aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSteven Rostedt <[email protected]>2011-04-20 21:42:00 -0400
committerIngo Molnar <[email protected]>2011-04-22 11:06:59 +0200
commite0944ee63f7249802be74454cef81c97630ae1cd (patch)
tree00c81028ff9b324bdd9106103f043ba26ea54e41 /lib
parent282b5c2f6f663c008444321fd8fcdd374596046b (diff)
lockdep: Remove cmpxchg to update nr_chain_hlocks
For some reason nr_chain_hlocks is updated with cmpxchg, but this is performed inside of the lockdep global "grab_lock()", which also makes simple modification of this variable atomic. Remove the cmpxchg logic for updating nr_chain_hlocks and simplify the code. Signed-off-by: Steven Rostedt <[email protected]> Acked-by: Peter Zijlstra <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Andrew Morton <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions