[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)
commitb9732ca1cb2c18129d2f984b8de02db141b7b830
tree8614f0d85cace3eaf322ab8b8e429fc1df926927
parent0c3252d58c54c87ee0f8f40d840e0146a3b1d5fd
[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