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)
commit7a42fdc20f1ff31bb47b05a4283c17129d0ecca3
tree7816988dd27ae271f5161a765ca8756f4c26ad98
parent32f5ff63ff9c87195d06896e6ab4086b6369546a
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