summaryrefslogtreecommitdiffstats
path: root/arch/s390/kvm
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2017-06-28 12:42:02 +0200
committerChristian Borntraeger <borntraeger@de.ibm.com>2017-06-28 12:42:02 +0200
commitaec3b2c5f929c31d5517e36e2068617179d0fefd (patch)
tree03101df13c1c2a156c04cedc18d42a246ae26c51 /arch/s390/kvm
parent1cae025577f447fa69e55f194b1f3b078f5fbc25 (diff)
parentda72ca4d4090a8ab0e6b0a23682ef42d39d7ae00 (diff)
downloadlinux-aec3b2c5f929c31d5517e36e2068617179d0fefd.tar.bz2
Merge tag 'nmiforkvm' of git://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux into kernelorgnext
s390,kvm: provide plumbing for machines checks when running guests This provides the basic plumbing for handling machine checks when running guests
Diffstat (limited to 'arch/s390/kvm')
-rw-r--r--arch/s390/kvm/kvm-s390.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/kvm/kvm-s390.c b/arch/s390/kvm/kvm-s390.c
index e100a7ff35c7..90434760cda5 100644
--- a/arch/s390/kvm/kvm-s390.c
+++ b/arch/s390/kvm/kvm-s390.c
@@ -2405,6 +2405,7 @@ struct kvm_vcpu *kvm_arch_vcpu_create(struct kvm *kvm,
if (!vcpu)
goto out;
+ BUILD_BUG_ON(sizeof(struct sie_page) != 4096);
sie_page = (struct sie_page *) get_zeroed_page(GFP_KERNEL);
if (!sie_page)
goto out_free_cpu;