diff options
author | Tony Lindgren <tony@atomide.com> | 2015-05-20 19:01:21 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2015-05-20 19:01:21 +0300 |
commit | 685e2d08c54b1a1bf31bbe6562f06db089d31c7b (patch) | |
tree | 5076e95abb7ebdf6c23dc44a446c49d14dc404b9 /arch/arm/mach-omap1/irq.c | |
parent | b694331cfb2ec3bc2225a0ea9fddbb7e24d81c37 (diff) | |
download | linux-685e2d08c54b1a1bf31bbe6562f06db089d31c7b.tar.xz |
ARM: OMAP1: Change interrupt numbering for sparse IRQ
Change interrupt numbering for sparse IRQ. We do this using
a fixed offset until we can drop irqs.h once all it's users
have been updated.
Note that this depends on the GPIO fix for the MPUIO IRQs
"gpio: omap: Fix regression for MPUIO interrupts".
Also note that this patch adds some extra irq alloc warnings
that will go away when we stop calling irq_alloc_descs
in gpio-omap.c with a follow-up patch.
Cc: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap1/irq.c')
-rw-r--r-- | arch/arm/mach-omap1/irq.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap1/irq.c b/arch/arm/mach-omap1/irq.c index 567fba35bd94..f4d346fda9da 100644 --- a/arch/arm/mach-omap1/irq.c +++ b/arch/arm/mach-omap1/irq.c @@ -233,6 +233,7 @@ void __init omap1_init_irq(void) irq_base = 0; } omap_l2_irq = cpu_is_omap7xx() ? irq_base + 1 : irq_base; + omap_l2_irq -= NR_IRQS_LEGACY; domain = irq_domain_add_legacy(NULL, nr_irqs, irq_base, 0, &irq_domain_simple_ops, NULL); |