summary refs log tree commit diff
path: root/arch/arm64/kernel/syscall.c
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2021-02-10 10:26:09 -0800
committerPaolo Bonzini <pbonzini@redhat.com>2021-02-11 08:03:02 -0500
commit7137b7ae6f20076a1e05546db61f9fb3d3f9e97d (patch)
treedd3b2b7af22a6f6671a0dad8bc37884b271ff7e9 /arch/arm64/kernel/syscall.c
parentf1b83973a164073d9b2e5e3d2c556e7ef6743cf6 (diff)
downloadlinux-7137b7ae6f20076a1e05546db61f9fb3d3f9e97d.tar.gz
KVM: x86/xen: Explicitly pad struct compat_vcpu_info to 64 bytes
Add a 2 byte pad to struct compat_vcpu_info so that the sum size of its
fields is actually 64 bytes.  The effective size without the padding is
also 64 bytes due to the compiler aligning evtchn_pending_sel to a 4-byte
boundary, but depending on compiler alignment is subtle and unnecessary.

Opportunistically replace spaces with tables in the other fields.

Cc: David Woodhouse <dwmw@amazon.co.uk>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210210182609.435200-6-seanjc@google.com>
Reviewed-by: David Woodhouse <dwmw@amazon.co.uk>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/arm64/kernel/syscall.c')
0 files changed, 0 insertions, 0 deletions