summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-iop13xx/tpmi.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2014-05-07 15:44:04 +0000
committerThomas Gleixner <tglx@linutronix.de>2014-05-16 14:05:18 +0200
commit37ebbcff78375bfa69eb69748ef00f577b7c1c6c (patch)
tree6881b33163a27f0cd233178af737590edaf76378 /arch/arm/mach-iop13xx/tpmi.c
parent67bb90fd743ecf637f2e36eb9a39afcad08ef523 (diff)
downloadlinux-stable-37ebbcff78375bfa69eb69748ef00f577b7c1c6c.tar.gz
linux-stable-37ebbcff78375bfa69eb69748ef00f577b7c1c6c.tar.bz2
linux-stable-37ebbcff78375bfa69eb69748ef00f577b7c1c6c.zip
arm: iop13xx: Use sparse irqs for MSI
No need for a private allocator. The core code handles it already. Allocate the non MSI irqs right at boot time via machine_desc->nr_irqs and let the sparse core handle the MSI space. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Grant Likely <grant.likely@linaro.org> Cc: Tony Luck <tony.luck@intel.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Dan Williams <dan.j.williams@intel.com> Cc: Russell King <linux@arm.linux.org.uk> Cc: linux-arm-kernel@lists.infradead.org Link: http://lkml.kernel.org/r/20140507154333.809210026@linutronix.de Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/arm/mach-iop13xx/tpmi.c')
-rw-r--r--arch/arm/mach-iop13xx/tpmi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-iop13xx/tpmi.c b/arch/arm/mach-iop13xx/tpmi.c
index 6fdad7a0425a..db511ec2b1df 100644
--- a/arch/arm/mach-iop13xx/tpmi.c
+++ b/arch/arm/mach-iop13xx/tpmi.c
@@ -24,6 +24,7 @@
#include <linux/io.h>
#include <asm/irq.h>
#include <asm/sizes.h>
+#include <mach/irqs.h>
/* assumes CONTROLLER_ONLY# is never asserted in the ESSR register */
#define IOP13XX_TPMI_MMR(dev) IOP13XX_REG_ADDR32_PHYS(0x48000 + (dev << 12))