[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)
commit740b5706b9c4b3767f597b3ea76654c6f2a800b2
tree370dc09ec8f3abaecc742003ed9d28eecf636c3b
parenta1a392f0b4f27604811bf8aa8d7636b3b4bc3803
[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