summaryrefslogtreecommitdiff
path: root/arch/s390/include/asm/kvm_host.h
diff options
context:
space:
mode:
authorMichael Mueller <mimu@linux.ibm.com>2019-01-31 11:52:34 +0300
committerChristian Borntraeger <borntraeger@de.ibm.com>2019-02-05 16:29:22 +0300
commit246b72183b3538907d5c1e6d383c6956385d068d (patch)
tree75825165408179e2e954eb54a1009e40900e4533 /arch/s390/include/asm/kvm_host.h
parent689bdf9e9c337121d948d48605de0659c088e6bb (diff)
downloadlinux-246b72183b3538907d5c1e6d383c6956385d068d.tar.xz
KVM: s390: move bitmap idle_mask into arch struct top level
The vcpu idle_mask state is used by but not specific to the emulated floating interruptions. The state is relevant to gisa related interruptions as well. Signed-off-by: Michael Mueller <mimu@linux.ibm.com> Reviewed-by: Pierre Morel <pmorel@linux.ibm.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com> Acked-by: Halil Pasic <pasic@linux.ibm.com> Message-Id: <20190131085247.13826-4-mimu@linux.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/kvm_host.h')
-rw-r--r--arch/s390/include/asm/kvm_host.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/include/asm/kvm_host.h b/arch/s390/include/asm/kvm_host.h
index 3cba08f73dc6..c259a67c4298 100644
--- a/arch/s390/include/asm/kvm_host.h
+++ b/arch/s390/include/asm/kvm_host.h
@@ -591,7 +591,6 @@ struct kvm_s390_float_interrupt {
struct kvm_s390_mchk_info mchk;
struct kvm_s390_ext_info srv_signal;
int next_rr_cpu;
- DECLARE_BITMAP(idle_mask, KVM_MAX_VCPUS);
struct mutex ais_lock;
u8 simm;
u8 nimm;
@@ -838,6 +837,7 @@ struct kvm_arch{
/* subset of available cpu features enabled by user space */
DECLARE_BITMAP(cpu_feat, KVM_S390_VM_CPU_FEAT_NR_BITS);
struct kvm_s390_gisa *gisa;
+ DECLARE_BITMAP(idle_mask, KVM_MAX_VCPUS);
};
#define KVM_HVA_ERR_BAD (-1UL)