diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2009-03-04 13:51:13 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-04 18:38:33 +0100 |
commit | 1c21f14ec48a2256fb03682b24dddd23eacdc96f (patch) | |
tree | 03b6ecf8d87074d1f154ff8ac794e9084e00d7cd /drivers/serial/sh-sci.h | |
parent | lockdep: annotate reclaim context (__GFP_NOFS), fix (diff) | |
download | linux-1c21f14ec48a2256fb03682b24dddd23eacdc96f.tar.xz linux-1c21f14ec48a2256fb03682b24dddd23eacdc96f.zip |
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>
Diffstat (limited to 'drivers/serial/sh-sci.h')
0 files changed, 0 insertions, 0 deletions