]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: X86: Drop KVM_APIC_SHORT_MASK and KVM_APIC_DEST_MASK
authorPeter Xu <peterx@redhat.com>
Wed, 4 Dec 2019 19:07:19 +0000 (20:07 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 8 Jan 2020 16:33:15 +0000 (17:33 +0100)
commit4f301d64b107985b79ef5206db1a8d2076d65d34
treef2a3bb8f496a60427f42b49c5606f81cdcce006b
parent4f7a1edfb019c8dc9304b6d777fc938bf887bd90
KVM: X86: Drop KVM_APIC_SHORT_MASK and KVM_APIC_DEST_MASK

We have both APIC_SHORT_MASK and KVM_APIC_SHORT_MASK defined for the
shorthand mask.  Similarly, we have both APIC_DEST_MASK and
KVM_APIC_DEST_MASK defined for the destination mode mask.

Drop the KVM_APIC_* macros and replace the only user of them to use
the APIC_DEST_* macros instead.  At the meantime, move APIC_SHORT_MASK
and APIC_DEST_MASK from lapic.c to lapic.h.

Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/lapic.c
arch/x86/kvm/lapic.h
arch/x86/kvm/svm.c