From: Heiko Carstens Date: Wed, 30 Apr 2008 11:38:36 +0000 (+0200) Subject: [S390] smp: Fix locking order. X-Git-Tag: v2.6.26-rc1~107^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b18d318b80a7f350648ca8f7cc00a2f688104cb;p=pandora-kernel.git [S390] smp: Fix locking order. On some smp sysfs store attributes get_online_cpus() may block on cpu_hotplug.lock, but we hold already smp_cpu_state_mutex. Since the locking order on cpu hotplug via arch_update_cpu_topology is inverse this might lead to deadlocks. So make sure locking order is always the same. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed