summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ep93xx/core.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2019-10-22 10:42:51 +0200
committerArnd Bergmann <arnd@arndb.de>2022-04-04 10:22:37 +0200
commit482c27273f52ad336e8d076f96f91b358dcb7d0c (patch)
tree3c508167ab5f4afeb84fe1b372ee0eb41615e3f7 /arch/arm/mach-ep93xx/core.c
parentd7445676e86900f8dc363825033ff62416c216e0 (diff)
downloadlinux-stable-482c27273f52ad336e8d076f96f91b358dcb7d0c.tar.gz
linux-stable-482c27273f52ad336e8d076f96f91b358dcb7d0c.tar.bz2
linux-stable-482c27273f52ad336e8d076f96f91b358dcb7d0c.zip
ARM: ep93xx: renumber interrupts
With the move to irq domains, no irqchip must start at number 0, so shift all the hardwired IRQ numbers by one. Tested-by: Alexander Sverdlin <alexander.sverdlin@gmail.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-ep93xx/core.c')
-rw-r--r--arch/arm/mach-ep93xx/core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-ep93xx/core.c b/arch/arm/mach-ep93xx/core.c
index a3b4e843456a..e4569a5acc3f 100644
--- a/arch/arm/mach-ep93xx/core.c
+++ b/arch/arm/mach-ep93xx/core.c
@@ -75,8 +75,8 @@ void __init ep93xx_map_io(void)
*************************************************************************/
void __init ep93xx_init_irq(void)
{
- vic_init(EP93XX_VIC1_BASE, 0, EP93XX_VIC1_VALID_IRQ_MASK, 0);
- vic_init(EP93XX_VIC2_BASE, 32, EP93XX_VIC2_VALID_IRQ_MASK, 0);
+ vic_init(EP93XX_VIC1_BASE, IRQ_EP93XX_VIC0, EP93XX_VIC1_VALID_IRQ_MASK, 0);
+ vic_init(EP93XX_VIC2_BASE, IRQ_EP93XX_VIC1, EP93XX_VIC2_VALID_IRQ_MASK, 0);
}