commit | 913769f24eadcd38a936ffae41d9b4895ec02e43 | [log] [tgz] |
---|---|---|
author | Frederic Weisbecker <fweisbec@gmail.com> | Thu Apr 15 23:10:43 2010 +0200 |
committer | Frederic Weisbecker <fweisbec@gmail.com> | Fri Apr 30 19:15:56 2010 +0200 |
tree | b1786f5789aa015f488a834a675c20120791bce3 | |
parent | 8795d7717c467bea7b0a0649d44a258e09f34db2 [diff] |
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>