]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: Refactor CPUID 0x4 and 0x8000001d handling
authorSean Christopherson <sean.j.christopherson@intel.com>
Mon, 2 Mar 2020 23:56:18 +0000 (15:56 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 16 Mar 2020 16:58:05 +0000 (17:58 +0100)
commit68058d82b32c9612d384a21819116ba39d1adf09
tree3ac146ff7394c316d3ed728f8a30d48e55fe97d7
parent5d8a2b1286d5af521aac3ff7704d233089b2f94f
KVM: x86: Refactor CPUID 0x4 and 0x8000001d handling

Refactoring the sub-leaf handling for CPUID 0x4/0x8000001d to eliminate
a one-off variable and its associated brackets.

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