]> git.baikalelectronics.ru Git - kernel.git/commit
kvm: x86: remove unnecessary recalculate_apic_map
authorPeng Hao <peng.hao2@zte.com.cn>
Tue, 4 Dec 2018 09:42:50 +0000 (17:42 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 14 Dec 2018 16:59:50 +0000 (17:59 +0100)
commit42e3716562f8287585238cf16a59d4da5c9dbb24
treed0fae61c20ba2183e9dfc3e7d6f73a5fd28d3182
parentb05dd7bbb6702a9ef2144bee2afc66276eac42fd
kvm: x86: remove unnecessary recalculate_apic_map

In the previous code, the variable apic_sw_disabled influences
recalculate_apic_map. But in "KVM: x86: simplify kvm_apic_map"
(commit: d0e1ceee3611b36cdd5724a38f8529ed6704dd7e),
the access to apic_sw_disabled in recalculate_apic_map has been
deleted.

Signed-off-by: Peng Hao <peng.hao2@zte.com.cn>
Reviewed-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/lapic.c