ARM: riscpc: reduce IRQ handling code
authorRussell King <rmk+kernel@armlinux.org.uk>
Tue, 21 May 2019 15:30:38 +0000 (16:30 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Tue, 11 Jun 2019 16:42:36 +0000 (17:42 +0100)
commit05002cf1779ace3b0e1ed6a8cd6c67876fd47d9d
tree791261939e5b8425e1946c527c92533ce3a0fcbb
parent12290cc462c24deee503e84e87dea622b40ea15d
ARM: riscpc: reduce IRQ handling code

Reduce the amount of IRQ handling code that RiscPC requires; there's no
need for this duplication if we place the virtual iomem base address for
each bank directly in the irq_data structure.  Provide helpers to get
the base address, and setup the base address and register mask.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/mach-rpc/irq.c