diff options
author | Sean Christopherson <sean.j.christopherson@intel.com> | 2020-03-03 00:56:25 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-03-16 17:58:10 +0100 |
commit | 615a4ae1c74c2997f19189412fae0326baaf1bff (patch) | |
tree | a1ca647178233a83abc7536440840098e216e214 /arch/x86/kvm/cpuid.h | |
parent | KVM: x86: Use supported_xcr0 to detect MPX support (diff) | |
download | linux-615a4ae1c74c2997f19189412fae0326baaf1bff.tar.xz linux-615a4ae1c74c2997f19189412fae0326baaf1bff.zip |
KVM: x86: Make kvm_mpx_supported() an inline function
Expose kvm_mpx_supported() as a static inline so that it can be inlined
in kvm_intel.ko.
No functional change intended.
Reviewed-by: Xiaoyao Li <xiaoyao.li@intel.com>
Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/cpuid.h')
-rw-r--r-- | arch/x86/kvm/cpuid.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/kvm/cpuid.h b/arch/x86/kvm/cpuid.h index 7366c618aa04..c1ac0995843d 100644 --- a/arch/x86/kvm/cpuid.h +++ b/arch/x86/kvm/cpuid.h @@ -7,7 +7,6 @@ #include <asm/processor.h> int kvm_update_cpuid(struct kvm_vcpu *vcpu); -bool kvm_mpx_supported(void); struct kvm_cpuid_entry2 *kvm_find_cpuid_entry(struct kvm_vcpu *vcpu, u32 function, u32 index); int kvm_dev_ioctl_get_cpuid(struct kvm_cpuid2 *cpuid, |