From: Peter Zijlstra Date: Wed, 4 Mar 2009 12:51:13 +0000 (+0100) Subject: lockdep: fix incorrect state name X-Git-Tag: v2.6.30-rc1~216^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c21f14ec48a2256fb03682b24dddd23eacdc96f;p=pandora-kernel.git 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 Signed-off-by: Peter Zijlstra LKML-Reference: <1236172646.5330.7450.camel@laptop> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed