From: Benjamin Herrenschmidt Date: Wed, 12 Jun 2013 05:39:04 +0000 (+1000) Subject: of: Fix locking vs. interrupts X-Git-Tag: v3.10-rc6~10^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d25d86949b6799c35d78f4910498c2b65a3f0841;p=pandora-kernel.git of: Fix locking vs. interrupts The OF code uses irqsafe locks everywhere except in a handful of functions for no obvious reasons. Since the conversion from the old rwlocks, this now triggers lockdep warnings when used at interrupt time. At least one driver (ibmvscsi) seems to be doing that from softirq context. This converts the few non-irqsafe locks into irqsafe ones, making them consistent with the rest of the code. Signed-off-by: Benjamin Herrenschmidt Acked-by: Thomas Gleixner Acked-by: David S. Miller Signed-off-by: Grant Likely --- Reading git-diff-tree failed