|
@@ -149,7 +149,7 @@ DECLARE_PER_CPU(struct lockdep_stats, lockdep_stats);
|
|
|
|
|
|
#define debug_atomic_dec(ptr) { \
|
|
#define debug_atomic_dec(ptr) { \
|
|
WARN_ON_ONCE(!irqs_disabled()); \
|
|
WARN_ON_ONCE(!irqs_disabled()); \
|
|
- this_cpu_inc(lockdep_stats.ptr); \
|
|
|
|
|
|
+ this_cpu_dec(lockdep_stats.ptr); \
|
|
}
|
|
}
|
|
|
|
|
|
#define debug_atomic_read(ptr) ({ \
|
|
#define debug_atomic_read(ptr) ({ \
|