summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-iop13xx/iq81340mc.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2014-05-07 17:44:04 +0200
committerThomas Gleixner <tglx@linutronix.de>2014-05-16 14:05:18 +0200
commit37ebbcff78375bfa69eb69748ef00f577b7c1c6c (patch)
tree6881b33163a27f0cd233178af737590edaf76378 /arch/arm/mach-iop13xx/iq81340mc.c
parentMerge branches 'linus' and 'irq/urgent' into irq/core (diff)
downloadlinux-37ebbcff78375bfa69eb69748ef00f577b7c1c6c.tar.xz
linux-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/iq81340mc.c')
-rw-r--r--arch/arm/mach-iop13xx/iq81340mc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-iop13xx/iq81340mc.c b/arch/arm/mach-iop13xx/iq81340mc.c
index 02a8228ac2d3..9cd07d396093 100644
--- a/arch/arm/mach-iop13xx/iq81340mc.c
+++ b/arch/arm/mach-iop13xx/iq81340mc.c
@@ -93,4 +93,5 @@ MACHINE_START(IQ81340MC, "Intel IQ81340MC")
.init_time = iq81340mc_timer_init,
.init_machine = iq81340mc_init,
.restart = iop13xx_restart,
+ .nr_irqs = NR_IOP13XX_IRQS,
MACHINE_END