diff options
Diffstat (limited to 'arch/x86/kernel/devicetree.c')
-rw-r--r-- | arch/x86/kernel/devicetree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/devicetree.c b/arch/x86/kernel/devicetree.c index e90f08458e6b..f06494e93760 100644 --- a/arch/x86/kernel/devicetree.c +++ b/arch/x86/kernel/devicetree.c | |||
@@ -407,7 +407,7 @@ static void __init ioapic_add_ofnode(struct device_node *np) | |||
407 | } | 407 | } |
408 | 408 | ||
409 | for (i = 0; i < nr_ioapics; i++) { | 409 | for (i = 0; i < nr_ioapics; i++) { |
410 | if (r.start == mp_ioapics[i].apicaddr) { | 410 | if (r.start == mpc_ioapic_addr(i)) { |
411 | struct irq_domain *id; | 411 | struct irq_domain *id; |
412 | 412 | ||
413 | id = kzalloc(sizeof(*id), GFP_KERNEL); | 413 | id = kzalloc(sizeof(*id), GFP_KERNEL); |