summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/paravirt-spinlocks.c
diff options
context:
space:
mode:
authorThomas Huth2019-05-23 18:43:02 +0200
committerChristian Borntraeger2019-06-04 14:05:37 +0200
commita9c788f07347cf5dfcbe4bf77bf0f3a2a04c89f1 (patch)
treea16fd2852fb2447968647e986ce2825d0cc86fa8 /arch/x86/kernel/paravirt-spinlocks.c
parentLinux 5.2-rc3 (diff)
downloadkernel-qcow2-linux-a9c788f07347cf5dfcbe4bf77bf0f3a2a04c89f1.tar.gz
kernel-qcow2-linux-a9c788f07347cf5dfcbe4bf77bf0f3a2a04c89f1.tar.xz
kernel-qcow2-linux-a9c788f07347cf5dfcbe4bf77bf0f3a2a04c89f1.zip
KVM: selftests: Guard struct kvm_vcpu_events with __KVM_HAVE_VCPU_EVENTS
The struct kvm_vcpu_events code is only available on certain architectures (arm, arm64 and x86). To be able to compile kvm_util.c also for other architectures, we have to fence the code with __KVM_HAVE_VCPU_EVENTS. Reviewed-by: David Hildenbrand <david@redhat.com> Reviewed-by: Andrew Jones <drjones@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com> Message-Id: <20190523164309.13345-3-thuth@redhat.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'arch/x86/kernel/paravirt-spinlocks.c')
0 files changed, 0 insertions, 0 deletions