]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: s390: remove __cpu_is_stopped and expose is_vcpu_stopped
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>
Mon, 5 May 2014 14:26:19 +0000 (16:26 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Thu, 10 Jul 2014 12:09:49 +0000 (14:09 +0200)
commit1272b0d5ec21f7e4c86000c6519d2a0e522a9e79
tree7816988dd27ae271f5161a765ca8756f4c26ad98
parentc2d23deca1d60a5cb832422789c1094725ca5f53
KVM: s390: remove __cpu_is_stopped and expose is_vcpu_stopped

The function "__cpu_is_stopped" is not used any more. Let's remove it and
expose the function "is_vcpu_stopped" instead, which is actually what we want.

This patch also converts an open coded check for CPUSTAT_STOPPED to
is_vcpu_stopped().

Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/kvm/kvm-s390.c
arch/s390/kvm/kvm-s390.h