]> 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)
commit550af2f143d013b65b44a65e913852b5eb3f8db4
tree7270468ef1da5663d7a708993dd83f3be1d8056b
parentce71bf731ff63cda3c275597b3231c44808c4954
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