Commit 91a238fd authored by Gilles Chanteperdrix's avatar Gilles Chanteperdrix Committed by Philippe Gerum

ARM: imx/avic: ipipe: enable interrupt pipelining

parent a9e26e84
......@@ -123,6 +123,10 @@ static __init void avic_init_gc(int idx, unsigned int irq_start)
ct->chip.irq_mask = irq_gc_mask_clr_bit;
ct->chip.irq_unmask = irq_gc_mask_set_bit;
ct->chip.irq_ack = irq_gc_mask_clr_bit;
#ifdef CONFIG_IPIPE
ct->chip.irq_mask_ack = irq_gc_mask_clr_bit;
ct->chip.flags = IRQCHIP_PIPELINE_SAFE;
#endif /* CONFIG_IPIPE */
ct->chip.irq_set_wake = irq_gc_set_wake;
ct->chip.irq_suspend = avic_irq_suspend;
ct->chip.irq_resume = avic_irq_resume;
......@@ -141,7 +145,7 @@ static void __exception_irq_entry avic_handle_irq(struct pt_regs *regs)
if (nivector == 0xffff)
break;
handle_domain_irq(domain, nivector, regs);
ipipe_handle_domain_irq(domain, nivector, regs);
} while (1);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment