]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: lapic: Split out x2apic ldr calculation
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Fri, 17 Nov 2017 11:52:49 +0000 (11:52 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 27 Nov 2017 16:32:52 +0000 (17:32 +0100)
commit1576851bcd2d82c4942d32b9326e7de40edcae5d
tree7c88f3efd6ac26d71b838742b84cd865518ac866
parent5395ef8cf1dfaa79c69ff5d1ddbcbec0946f07f9
KVM: lapic: Split out x2apic ldr calculation

Split out the ldr calculation from kvm_apic_set_x2apic_id
since we're about to reuse it in the following patch.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/lapic.c