aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/xics/xics-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/sysdev/xics/xics-common.c')
-rw-r--r--arch/powerpc/sysdev/xics/xics-common.c4
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 c58844d7242..a0576b705dd 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;