static struct irq_domain *domain;
static void __iomem *omap_irq_base;
+static int omap_nr_pending = 3;
static int omap_nr_irqs = 96;
/* INTC bank register get/set */
void __init omap2_init_irq(void)
{
omap_nr_irqs = 96;
+ omap_nr_pending = 3;
omap_init_irq(OMAP24XX_IC_BASE, NULL);
set_handle_irq(omap_intc_handle_irq);
}
void __init omap3_init_irq(void)
{
omap_nr_irqs = 96;
+ omap_nr_pending = 3;
omap_init_irq(OMAP34XX_IC_BASE, NULL);
set_handle_irq(omap_intc_handle_irq);
}
void __init ti81xx_init_irq(void)
{
omap_nr_irqs = 96;
+ omap_nr_pending = 4;
omap_init_irq(OMAP34XX_IC_BASE, NULL);
set_handle_irq(omap_intc_handle_irq);
}
{
struct resource res;
+ omap_nr_pending = 3;
omap_nr_irqs = 96;
if (WARN_ON(!node))
return -EINVAL;
}
- if (of_device_is_compatible(node, "ti,am33xx-intc"))
+ if (of_device_is_compatible(node, "ti,am33xx-intc")) {
omap_nr_irqs = 128;
+ omap_nr_pending = 4;
+ }
omap_init_irq(res.start, of_node_get(node));