]> git.baikalelectronics.ru Git - kernel.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)
commit3536058661ffd68c94487a01ff260b85f897ebed
treed47cb7f5dc7cad419a99b98f70a5ac7b5a0aac8d
parentf9acec796154cd84164969b3979a304484503a21
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