lockdep: Simplify debug atomic ops
authorFrederic Weisbecker <fweisbec@gmail.com>
Thu, 15 Apr 2010 21:10:43 +0000 (23:10 +0200)
committerFrederic Weisbecker <fweisbec@gmail.com>
Fri, 30 Apr 2010 17:15:56 +0000 (19:15 +0200)
commit913769f24eadcd38a936ffae41d9b4895ec02e43
treeb1786f5789aa015f488a834a675c20120791bce3
parent8795d7717c467bea7b0a0649d44a258e09f34db2
lockdep: Simplify debug atomic ops

Simplify debug_atomic_inc/dec by using this_cpu_inc/dec() instead
of doing it through an indirect get_cpu_var() and a manual
incrementation.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
kernel/lockdep_internals.h