]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: s390: fix sigp sense running condition code handling
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Tue, 26 Jun 2012 14:06:38 +0000 (16:06 +0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Tue, 3 Jul 2012 17:55:34 +0000 (14:55 -0300)
commit4649b7511ad0b365718b772a28bc9260113dba15
tree95f4562d2029ac83dd9a5b119326d1e7c3a309d0
parent0f82c1df3ee9766e819fa8c296b2be1be456ad9a
KVM: s390: fix sigp sense running condition code handling

Only if the sensed cpu is not running a status is stored, which
is reflected by condition code 1. If the cpu is running, condition
code 0 should be returned.
Just the opposite of what the code is doing.

Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/s390/kvm/sigp.c