summaryrefslogtreecommitdiffstats
path: root/Documentation/volatile-considered-harmful.txt
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-06-12 15:39:04 +1000
committerGrant Likely <grant.likely@linaro.org>2013-06-13 22:12:14 +0100
commitd25d86949b6799c35d78f4910498c2b65a3f0841 (patch)
tree936d0c8a6bd0b35f29198ae70adde0d753d73721 /Documentation/volatile-considered-harmful.txt
parentb0a4d8b3cf199e7277f659663ac3a3580e9967bb (diff)
downloadtalos-obmc-linux-d25d86949b6799c35d78f4910498c2b65a3f0841.tar.gz
talos-obmc-linux-d25d86949b6799c35d78f4910498c2b65a3f0841.zip
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 <benh@kernel.crashing.org> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Grant Likely <grant.likely@linaro.org>
Diffstat (limited to 'Documentation/volatile-considered-harmful.txt')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud