]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] cpcmd <-> __cpcmd calling issues
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 4 Dec 2006 14:40:30 +0000 (15:40 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 4 Dec 2006 14:40:30 +0000 (15:40 +0100)
commite5e8af8713b73e22ea9a300f803a046feb160cdb
tree370dc09ec8f3abaecc742003ed9d28eecf636c3b
parent34dd3885616f8c86cdb69e486e4072369c24bca0
[S390] cpcmd <-> __cpcmd calling issues

In case of reipl cpcmd gets called when all other cpus are not running
anymore. To prevent deadlocks change __cpcmd so that it doesn't take
any locks and call cpcmd or __cpcmd, whatever is correct in the current
context.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/cpcmd.c
arch/s390/kernel/ipl.c
arch/s390/kernel/setup.c
include/asm-s390/cpcmd.h