MIPS: JZ4740: define IRQ numbers based on number of intc IRQs
authorPaul Burton <paul.burton@imgtec.com>
Sun, 24 May 2015 15:11:27 +0000 (16:11 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Sun, 21 Jun 2015 19:53:04 +0000 (21:53 +0200)
commitad68f8d3c2a1f61ce98665d6d0c1a2e52a75ea77
tree84d685533d0fcf7ea1f44669a50e7666e2e359a6
parent943d69c6c2174654903ffa5f2d2473f0f178e765
MIPS: JZ4740: define IRQ numbers based on number of intc IRQs

For interrupts numbered after those of the interrupt controller, define
their numbers based upon the number of interrupts provided by the SoC
interrupt controller. This is in preparation for supporting newer
Ingenic SoCs which provide more interrupts.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/10143/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/mach-jz4740/irq.h