diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2011-05-04 01:02:15 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-05-04 01:02:15 -0400 |
commit | 476eb4912601a8c01e6702b9a029f476b4b131d2 (patch) | |
tree | 2ed0b8c166c7cb46174318fe187f5edc062829be /arch/powerpc/sysdev/xics/xics-common.c | |
parent | 65f47f1339dfcffcd5837a307172fb41aa39e479 (diff) |
powerpc/irq: Stop exporting irq_map
First step in eliminating irq_map[] table entirely
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/sysdev/xics/xics-common.c')
-rw-r--r-- | arch/powerpc/sysdev/xics/xics-common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/sysdev/xics/xics-common.c b/arch/powerpc/sysdev/xics/xics-common.c index c58844d72426..a0576b705ddd 100644 --- a/arch/powerpc/sysdev/xics/xics-common.c +++ b/arch/powerpc/sysdev/xics/xics-common.c | |||
@@ -240,9 +240,9 @@ void xics_migrate_irqs_away(void) | |||
240 | /* We can't set affinity on ISA interrupts */ | 240 | /* We can't set affinity on ISA interrupts */ |
241 | if (virq < NUM_ISA_INTERRUPTS) | 241 | if (virq < NUM_ISA_INTERRUPTS) |
242 | continue; | 242 | continue; |
243 | if (irq_map[virq].host != xics_host) | 243 | if (virq_to_host(virq) != xics_host) |
244 | continue; | 244 | continue; |
245 | irq = (unsigned int)irq_map[virq].hwirq; | 245 | irq = (unsigned int)virq_to_hw(virq); |
246 | /* We need to get IPIs still. */ | 246 | /* We need to get IPIs still. */ |
247 | if (irq == XICS_IPI || irq == XICS_IRQ_SPURIOUS) | 247 | if (irq == XICS_IPI || irq == XICS_IRQ_SPURIOUS) |
248 | continue; | 248 | continue; |