]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] sclp: fix possible deadlock on cpu rescan.
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 14 Jul 2008 07:57:28 +0000 (09:57 +0200)
committerHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 14 Jul 2008 08:02:01 +0000 (10:02 +0200)
commit45327ab84bbaaf20426c966a6c48f625b44b9140
tree8614f0d85cace3eaf322ab8b8e429fc1df926927
parent5066227564530215d5d4103a11c33a6d42f283b6
[S390] sclp: fix possible deadlock on cpu rescan.

smp_rescan_cpus() calls get_online_cpus() from a multithreaded
workqueue context. This may deadlock. This is the same bug as in
arch/s390/kernel/topology.c. This patch can be reverted as soon as
Oleg's patch gets merged.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/char/sclp_config.c