projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba697f4
)
lockdep: Actually _dec_ in debug_atomic_dec
author
Frederic Weisbecker
<fweisbec@gmail.com>
Tue, 4 May 2010 02:52:48 +0000
(
04:52
+0200)
committer
Frederic Weisbecker
<fweisbec@gmail.com>
Tue, 4 May 2010 03:38:12 +0000
(
05:38
+0200)
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>
kernel/lockdep_internals.h
patch
|
blob
|
history
diff --git
a/kernel/lockdep_internals.h
b/kernel/lockdep_internals.h
index 7de27a80f802648e55a5796039a814d074999ccd..8d929c717d3e6ec321ad0b50d4c65f9a965a4588 100644
(file)
--- a/
kernel/lockdep_internals.h
+++ b/
kernel/lockdep_internals.h
@@
-149,7
+149,7
@@
DECLARE_PER_CPU(struct lockdep_stats, lockdep_stats);
#define debug_atomic_dec(ptr) { \
WARN_ON_ONCE(!irqs_disabled()); \
- this_cpu_
in
c(lockdep_stats.ptr); \
+ this_cpu_
de
c(lockdep_stats.ptr); \
}
#define debug_atomic_read(ptr) ({ \