diff options
author | Steven Rostedt <srostedt@redhat.com> | 2011-04-21 03:42:00 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-04-22 11:06:59 +0200 |
commit | e0944ee63f7249802be74454cef81c97630ae1cd (patch) | |
tree | 00c81028ff9b324bdd9106103f043ba26ea54e41 /kernel/rcutorture.c | |
parent | lockdep: Print a nicer description for simple irq lock inversions (diff) | |
download | linux-e0944ee63f7249802be74454cef81c97630ae1cd.tar.xz linux-e0944ee63f7249802be74454cef81c97630ae1cd.zip |
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 <rostedt@goodmis.org>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Link: http://lkml.kernel.org/r/20110421014300.727863282@goodmis.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/rcutorture.c')
0 files changed, 0 insertions, 0 deletions