]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: Drop the explicit @index from do_cpuid_7_mask()
authorSean Christopherson <sean.j.christopherson@intel.com>
Mon, 2 Mar 2020 23:56:14 +0000 (15:56 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 16 Mar 2020 16:58:02 +0000 (17:58 +0100)
commit89ac32946c068d3413985ff44b4ca7a1590e6c9c
tree7270468ef1da5663d7a708993dd83f3be1d8056b
parent89c13ad7fe967bd2a48d6f8b0e4d70b8d41279ad
KVM: x86: Drop the explicit @index from do_cpuid_7_mask()

Drop the index param from do_cpuid_7_mask() and instead switch on the
entry's index, which is guaranteed to be set by do_host_cpuid().

No functional change intended.

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>
arch/x86/kvm/cpuid.c