KVM: x86: Use LVT_TIMER instead of an open coded literal
authorLiam Ni <zhiguangni01@gmail.com>
Wed, 8 Jan 2025 22:05:19 +0000 (14:05 -0800)
committerSean Christopherson <seanjc@google.com>
Wed, 8 Jan 2025 22:05:19 +0000 (14:05 -0800)
commitd6470627f5840057ae4d94ed070ec23457cb60d6
treeae00f4f5d25381213b763dcf711072648f158c8f
parent0e77b324110c9c1e240a67cc35fa1355f8f3f57c
KVM: x86: Use LVT_TIMER instead of an open coded literal

Use LVT_TIMER instead of the literal '0' to clean up the apic_lvt_mask
lookup when emulating handling writes to APIC_LVTT.

No functional change intended.

Signed-off-by: Liam Ni <zhiguangni01@gmail.com>
[sean: manually regenerate patch (whitespace damaged), massage changelog]
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/lapic.c