diff options
author | 2010-04-15 23:10:43 +0200 | |
---|---|---|
committer | 2010-04-30 19:15:56 +0200 | |
commit | 913769f24eadcd38a936ffae41d9b4895ec02e43 (patch) | |
tree | b1786f5789aa015f488a834a675c20120791bce3 /lib/bug.c | |
parent | lockdep: Fix redundant_hardirqs_on incremented with irqs enabled (diff) | |
download | wireguard-linux-913769f24eadcd38a936ffae41d9b4895ec02e43.tar.xz wireguard-linux-913769f24eadcd38a936ffae41d9b4895ec02e43.zip |
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>
Diffstat (limited to 'lib/bug.c')
0 files changed, 0 insertions, 0 deletions