x86/irq: Add allocation type for parent domain retrieval
[linux-2.6-microblaze.git] / drivers / iommu / intel / irq_remapping.c
index 33c4389..9b15cd0 100644 (file)
@@ -1115,16 +1115,12 @@ static struct irq_domain *intel_get_ir_irq_domain(struct irq_alloc_info *info)
                return NULL;
 
        switch (info->type) {
-       case X86_IRQ_ALLOC_TYPE_IOAPIC:
+       case X86_IRQ_ALLOC_TYPE_IOAPIC_GET_PARENT:
                iommu = map_ioapic_to_ir(info->ioapic_id);
                break;
-       case X86_IRQ_ALLOC_TYPE_HPET:
+       case X86_IRQ_ALLOC_TYPE_HPET_GET_PARENT:
                iommu = map_hpet_to_ir(info->hpet_id);
                break;
-       case X86_IRQ_ALLOC_TYPE_PCI_MSI:
-       case X86_IRQ_ALLOC_TYPE_PCI_MSIX:
-               iommu = map_dev_to_ir(info->msi_dev);
-               break;
        default:
                BUG_ON(1);
                break;