]> git.karo-electronics.de Git - linux-beck.git/commit
KVM: s390: Simplify online vcpus counting for stsi
authorJens Freimann <jfrei@linux.vnet.ibm.com>
Mon, 24 Feb 2014 09:11:41 +0000 (10:11 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 4 Mar 2014 09:41:02 +0000 (10:41 +0100)
commitff520a6327e83ef55515d1be3d0a1b10c084f59c
treed47cb7f5dc7cad419a99b98f70a5ac7b5a0aac8d
parentafa45ff521130cee79a50b565693388be8c8c9c2
KVM: s390: Simplify online vcpus counting for stsi

We don't need to loop over all cpus to get the number of
vcpus. Let's use the available counter online_vcpus instead.

Signed-off-by: Jens Freimann <jfrei@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/kvm/priv.c