commit | 1c21f14ec48a2256fb03682b24dddd23eacdc96f | [log] [tgz] |
---|---|---|
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | Wed Mar 04 13:51:13 2009 +0100 |
committer | Ingo Molnar <mingo@elte.hu> | Wed Mar 04 18:38:33 2009 +0100 |
tree | 03b6ecf8d87074d1f154ff8ac794e9084e00d7cd | |
parent | 6700ec65c207068a81a535e9dca616fefac21671 [diff] |
lockdep: fix incorrect state name In the recent mark_lock_irq() rework a bug snuck in that would report the state of write locks causing irq inversion under a read lock as a read lock. Fix this by masking the read bit of the state when validating write dependencies. Reported-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <1236172646.5330.7450.camel@laptop> Signed-off-by: Ingo Molnar <mingo@elte.hu>