aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/lapic.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kvm/lapic.c')
-rw-r--r--arch/x86/kvm/lapic.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/kvm/lapic.c b/arch/x86/kvm/lapic.c
index f6184f1f13c3..541e17865e63 100644
--- a/arch/x86/kvm/lapic.c
+++ b/arch/x86/kvm/lapic.c
@@ -693,8 +693,6 @@ bool kvm_irq_delivery_to_apic_fast(struct kvm *kvm, struct kvm_lapic *src,
693 ret = true; 693 ret = true;
694 694
695 if (irq->dest_mode == 0) { /* physical mode */ 695 if (irq->dest_mode == 0) { /* physical mode */
696 if (irq->delivery_mode == APIC_DM_LOWEST)
697 goto out;
698 dst = &map->phys_map[irq->dest_id & 0xff]; 696 dst = &map->phys_map[irq->dest_id & 0xff];
699 } else { 697 } else {
700 u32 mda = irq->dest_id << (32 - map->ldr_bits); 698 u32 mda = irq->dest_id << (32 - map->ldr_bits);