diff options
author | Sean Christopherson <sean.j.christopherson@intel.com> | 2019-12-18 22:54:56 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-01-24 09:18:58 +0100 |
commit | 3ec8ca29647078db11a820ab22855dd64d9a4897 (patch) | |
tree | 40474ce53744bac949a11bbfff8b3ba289edb0a4 /fs/9p/fid.h | |
parent | KVM: x86: Move kvm_vcpu_init() invocation to common code (diff) | |
download | linux-3ec8ca29647078db11a820ab22855dd64d9a4897.tar.xz linux-3ec8ca29647078db11a820ab22855dd64d9a4897.zip |
KVM: PPC: e500mc: Add build-time assert that vcpu is at offset 0
In preparation for moving vcpu allocation to common PPC code, add an
explicit, albeit redundant, build-time assert to ensure the vcpu member
is located at offset 0. The assert is redundant in the sense that
kvmppc_core_vcpu_create_e500() contains a functionally identical assert.
The motiviation for adding the extra assert is to provide visual
confirmation of the correctness of moving vcpu allocation to common
code.
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'fs/9p/fid.h')
0 files changed, 0 insertions, 0 deletions