mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
lockdep: Actually _dec_ in debug_atomic_dec
Fix a silly copy-paste mistake that was making debug_atomic_dec use this_cpu_inc instead of this_cpu_dec. Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com> Cc: Peter Zijlstra <peterz@infradead.org>
This commit is contained in:
parent
ba697f40db
commit
fa9a97dec6
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ DECLARE_PER_CPU(struct lockdep_stats, lockdep_stats);
|
|||
|
||||
#define debug_atomic_dec(ptr) { \
|
||||
WARN_ON_ONCE(!irqs_disabled()); \
|
||||
this_cpu_inc(lockdep_stats.ptr); \
|
||||
this_cpu_dec(lockdep_stats.ptr); \
|
||||
}
|
||||
|
||||
#define debug_atomic_read(ptr) ({ \
|
||||
|
|
Loading…
Reference in a new issue