aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/of/address.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2013-01-25 13:21:47 -0500
committerRob Herring <rob.herring@calxeda.com>2013-01-27 21:20:23 -0500
commit28d0e36bf96863df1195f8f7b9fd559142873389 (patch)
treec11d2627a91d81e69f20d9813f4d4224a0c7aeff /drivers/of/address.c
parent425140af9e7040adc84a1b3f2c198eaf6eebc5aa (diff)
OF: Fixup resursive locking code paths
There is no real reason to use a rwlock for devtree_lock. It even could be a mutex, but unfortunately it's locked from cpu hotplug paths which can't schedule :( So it needs to become a raw lock on rt as well. The devtree_lock would be the only user of a raw_rw_lock, so we are better off cleaning up the recursive locking paths which allows us to convert devtree_lock to a read_lock. Here we do the standard thing of introducing __foo() as the "raw" version of foo(), so that we can take better control of the locking. The "raw" versions are not exported and are for internal use within the file itself. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Diffstat (limited to 'drivers/of/address.c')
0 files changed, 0 insertions, 0 deletions