diff options
author | Peter Zijlstra <[email protected]> | 2009-03-04 13:51:13 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2009-03-04 18:38:33 +0100 |
commit | 1c21f14ec48a2256fb03682b24dddd23eacdc96f (patch) | |
tree | 03b6ecf8d87074d1f154ff8ac794e9084e00d7cd /drivers/mtd/lpddr/lpddr_cmds.c | |
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 <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
LKML-Reference: <1236172646.5330.7450.camel@laptop>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions