commit | 0b18d318b80a7f350648ca8f7cc00a2f688104cb | [log] [tgz] |
---|---|---|
author | Heiko Carstens <heiko.carstens@de.ibm.com> | Wed Apr 30 13:38:36 2008 +0200 |
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | Wed Apr 30 13:38:44 2008 +0200 |
tree | 7a5346faefb67b24f05c00691ca170a6805b0921 | |
parent | f291e17227cf30432ca7c402220f62e6924dd97d [diff] |
[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 <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>