KVM: x86: Clarify PMU related features bit manipulation
authorNadav Amit <namit@cs.technion.ac.il>
Wed, 20 Aug 2014 10:25:52 +0000 (13:25 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 20 Aug 2014 11:01:25 +0000 (13:01 +0200)
commitd27aa7f15c3b1105c8cd8c2d190ab354f877cac5
tree8dc7288ebafc088d36fa192950893ce8126d18b6
parenta32e84594ddf018cc618a8781298804c3e6131ce
KVM: x86: Clarify PMU related features bit manipulation

kvm_pmu_cpuid_update makes a lot of bit manuiplation operations, when in fact
there are already unions that can be used instead. Changing the bit
manipulation to the union for clarity. This patch does not change the
functionality.

Signed-off-by: Nadav Amit <namit@cs.technion.ac.il>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/pmu.c