x86: dt: Use linear irq domain for ioapic(s)
authorSebastian Andrzej Siewior <sebastian@breakpoint.cc>
Mon, 13 Aug 2012 20:23:33 +0000 (22:23 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 21 Aug 2012 20:16:57 +0000 (22:16 +0200)
The former conversion to irq_domain_add_legacy() did not fully work
since we miss the irq decs for NR_IRQS_LEGACY+.

Ideally we could use irq_domain_add_simple() or the no-map variant (and
program the virq <-> line mapping directly into ioapic) but this would
require a different irq lookup in "do_IRQ()" and won't work with ACPI
without changes. So this is probably easiest for everyone.

Tested-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: Grant Likely <grant.likely@secretlab.ca>
Link: http://lkml.kernel.org/r/20120813202304.GA3529@breakpoint.cc
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

No differences found