diff options
author | Wanpeng Li <wanpeng.li@hotmail.com> | 2016-08-03 12:04:13 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-08-19 17:51:40 +0200 |
commit | 187ca84b4b02d8b8a4f2117f1c6b209ef1ee90fc (patch) | |
tree | 671feb8822a5f6cb78ed2ccd6ca64258bbd8dffc /arch/x86/kvm/mmu.c | |
parent | ba913e4f72fc9cfd03dad968dfb110eb49211d80 (diff) |
KVM: lapic: don't recalculate apic map table twice when enabling LAPIC
APIC map table is recalculated during reset APIC ID to the initial value
when enabling LAPIC. This patch move the recalculate_apic_map() to the
next branch since we don't need to recalculate apic map twice in current
codes.
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Wanpeng Li <wanpeng.li@hotmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/mmu.c')
0 files changed, 0 insertions, 0 deletions