powerpc/irq: Stop exporting irq_map

First step in eliminating irq_map[] table entirely

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
Grant Likely
2011-05-04 15:02:15 +10:00
committed by Benjamin Herrenschmidt
parent 65f47f1339
commit 476eb49126
30 changed files with 148 additions and 222 deletions

View File

@ -240,9 +240,9 @@ void xics_migrate_irqs_away(void)
/* We can't set affinity on ISA interrupts */
if (virq < NUM_ISA_INTERRUPTS)
continue;
if (irq_map[virq].host != xics_host)
if (virq_to_host(virq) != xics_host)
continue;
irq = (unsigned int)irq_map[virq].hwirq;
irq = (unsigned int)virq_to_hw(virq);
/* We need to get IPIs still. */
if (irq == XICS_IPI || irq == XICS_IRQ_SPURIOUS)
continue;