]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
KVM: x86: replace kvm_apic_id with kvm_{x,x2}apic_id
authorRadim Krčmář <rkrcmar@redhat.com>
Thu, 15 Dec 2016 17:06:46 +0000 (18:06 +0100)
committerRadim Krčmář <rkrcmar@redhat.com>
Mon, 9 Jan 2017 13:47:29 +0000 (14:47 +0100)
commit6e50043912d9c9c119e3c9c5378869d019df70a9
tree84e0b962f49069675381fba44f09bbefa81b2a02
parentf98a3efb284a7950745d6c95be489193e6d4c657
KVM: x86: replace kvm_apic_id with kvm_{x,x2}apic_id

There were three calls sites:
 - recalculate_apic_map and kvm_apic_match_physical_addr, where it would
   only complicate implementation of x2APIC hotplug;
 - in apic_debug, where it was still somewhat preserved, but keeping the
   old function just for apic_debug was not worth it

Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/lapic.c
arch/x86/kvm/lapic.h