x86/irq: Add allocation type for parent domain retrieval
[linux-2.6-microblaze.git] / arch / x86 / kernel / apic / io_apic.c
index 779a89e..be01bb6 100644 (file)
@@ -2296,7 +2296,7 @@ static int mp_irqdomain_create(int ioapic)
                return 0;
 
        init_irq_alloc_info(&info, NULL);
-       info.type = X86_IRQ_ALLOC_TYPE_IOAPIC;
+       info.type = X86_IRQ_ALLOC_TYPE_IOAPIC_GET_PARENT;
        info.ioapic_id = mpc_ioapic_id(ioapic);
        parent = irq_remapping_get_ir_irq_domain(&info);
        if (!parent)