]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 8 Dec 2009 18:22:04 +0000 (10:22 -0800)
commit3c6f31de43c672ece8bcdd8262efd57c14c20c8f
tree4c1c3a365657a279c40032ba8008f4cc9f2e5004
parente5ac34fd383ddae70158d220e45a25ad97b02452
sparc: Move of_set_property_mutex acquisition outside of devtree_lock grab.

[ Upstream commit 1c9d80ddc60f8ac26344ec3db9830e5f8016c16d ]

Otherwise we try to sleep with preemption disabled, etc.

Noticed by Thomas Gleixner.

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/sparc/kernel/prom_common.c