diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2012-04-18 15:29:58 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-04-20 09:52:58 +0200 |
commit | 1344500e2d79d09db81f748984697cbdd6b02279 (patch) | |
tree | 13f9614bcdfa13adb7ede65fa1ab6f365add3271 /arch/arm/mach-u300/core.c | |
parent | a102962ffd45fe8bac68ea6d9f72d3ed19dc44e1 (diff) | |
download | linux-1344500e2d79d09db81f748984697cbdd6b02279.tar.gz linux-1344500e2d79d09db81f748984697cbdd6b02279.tar.bz2 linux-1344500e2d79d09db81f748984697cbdd6b02279.zip |
ARM: u300: bump all IRQ numbers by one
Since the VIC was converted to use generic IRQ domains IRQ 0
is silently ignored. This IRQ is used on the U300 so we're
missing it now. Bump all IRQ numbers by one since they are
now decoupled from the hardware IRQ numbers.
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-u300/core.c')
-rw-r--r-- | arch/arm/mach-u300/core.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/mach-u300/core.c b/arch/arm/mach-u300/core.c index 1621ad07d284..33339745d432 100644 --- a/arch/arm/mach-u300/core.c +++ b/arch/arm/mach-u300/core.c @@ -1667,8 +1667,10 @@ void __init u300_init_irq(void) for (i = 0; i < U300_VIC_IRQS_END; i++) set_bit(i, (unsigned long *) &mask[0]); - vic_init((void __iomem *) U300_INTCON0_VBASE, 0, mask[0], mask[0]); - vic_init((void __iomem *) U300_INTCON1_VBASE, 32, mask[1], mask[1]); + vic_init((void __iomem *) U300_INTCON0_VBASE, IRQ_U300_INTCON0_START, + mask[0], mask[0]); + vic_init((void __iomem *) U300_INTCON1_VBASE, IRQ_U300_INTCON1_START, + mask[1], mask[1]); } |