sparc: Move of_set_property_mutex acquisition outside of devtree_lock grab.
authorDavid S. Miller <davem@davemloft.net>
Mon, 9 Nov 2009 01:41:20 +0000 (17:41 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Nov 2009 01:41:20 +0000 (17:41 -0800)
commit1c9d80ddc60f8ac26344ec3db9830e5f8016c16d
treee62ce00ce44b61e378af4aefa68ce7f9acdf9e23
parent88b938e63e68fd35e603421f722be0f35dde1016
sparc: Move of_set_property_mutex acquisition outside of devtree_lock grab.

Otherwise we try to sleep with preemption disabled, etc.

Noticed by Thomas Gleixner.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/prom_common.c