]> git.karo-electronics.de Git - linux-beck.git/commit
KVM: s390: fix assumption for KVM_MAX_VCPUS
authorCarsten Otte <cotte@de.ibm.com>
Wed, 4 Jan 2012 09:25:28 +0000 (10:25 +0100)
committerAvi Kivity <avi@redhat.com>
Mon, 5 Mar 2012 12:52:20 +0000 (14:52 +0200)
commit3777594d5a75b704312544a59094beecd820e12b
treeb1accac26590b51870be2c5125013edd625f3ef4
parent58f9460ba1cc9de67e6591bfd08dccded43d27bd
KVM: s390: fix assumption for KVM_MAX_VCPUS

This patch fixes definition of the idle_mask and the local_int array
in kvm_s390_float_interrupt. Previous definition had 64 cpus max
hardcoded instead of using KVM_MAX_VCPUS.

Signed-off-by: Carsten Otte <cotte@de.ibm.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/s390/include/asm/kvm_host.h