KVM: x86/vPMU: Declare kvm_pmu->reprogram_pmi field using DECLARE_BITMAP
authorLike Xu <like.xu@linux.intel.com>
Mon, 21 Oct 2019 10:55:04 +0000 (18:55 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 22 Oct 2019 11:39:32 +0000 (13:39 +0200)
commit4be946728f65c10c9bb1a1580ec47a316f5ee6ac
treef659165d77e60fc72d9202064d968ffd213e7e92
parent30ce89acdfe91eb7a88cc5805d2774f11e1eccb4
KVM: x86/vPMU: Declare kvm_pmu->reprogram_pmi field using DECLARE_BITMAP

Replace the explicit declaration of "u64 reprogram_pmi" with the generic
macro DECLARE_BITMAP for all possible appropriate number of bits.

Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Like Xu <like.xu@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/pmu.c