KVM: x86: Refactor and rename bit() to feature_bit() macro
authorSean Christopherson <sean.j.christopherson@intel.com>
Tue, 17 Dec 2019 21:32:42 +0000 (13:32 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 21 Jan 2020 13:45:28 +0000 (14:45 +0100)
commit87382003e3555926017228452dae7e7064b0f915
treeb8403f4137388876d94d8d5628ab2f480dac7dff
parenta7c48c3f56db8d18d15ee6d8c2c5e2da447c77cc
KVM: x86: Refactor and rename bit() to feature_bit() macro

Rename bit() to __feature_bit() to give it a more descriptive name, and
add a macro, feature_bit(), to stuff the X68_FEATURE_ prefix to keep
line lengths manageable for code that hardcodes the bit to be retrieved.

No functional change intended.

Cc: Jim Mattson <jmattson@google.com>
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/cpuid.c
arch/x86/kvm/cpuid.h
arch/x86/kvm/svm.c
arch/x86/kvm/vmx/vmx.c
arch/x86/kvm/x86.c