diff options
Diffstat (limited to 'arch/x86/kernel/acpi/boot.c')
-rw-r--r-- | arch/x86/kernel/acpi/boot.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c index 6170c6aeaf79..2ddfabae382b 100644 --- a/arch/x86/kernel/acpi/boot.c +++ b/arch/x86/kernel/acpi/boot.c | |||
@@ -1019,6 +1019,11 @@ void __init mp_config_acpi_legacy_irqs(void) | |||
1019 | for (i = 0; i < 16; i++) { | 1019 | for (i = 0; i < 16; i++) { |
1020 | int idx; | 1020 | int idx; |
1021 | 1021 | ||
1022 | mp_irqs[mp_irq_entries].mp_type = MP_INTSRC; | ||
1023 | mp_irqs[mp_irq_entries].mp_irqflag = 0; /* Conforming */ | ||
1024 | mp_irqs[mp_irq_entries].mp_srcbus = MP_ISA_BUS; | ||
1025 | mp_irqs[mp_irq_entries].mp_dstapic = mp_ioapics[ioapic].mp_apicid; | ||
1026 | |||
1022 | for (idx = 0; idx < mp_irq_entries; idx++) { | 1027 | for (idx = 0; idx < mp_irq_entries; idx++) { |
1023 | struct mp_config_intsrc *irq = mp_irqs + idx; | 1028 | struct mp_config_intsrc *irq = mp_irqs + idx; |
1024 | 1029 | ||
@@ -1039,10 +1044,6 @@ void __init mp_config_acpi_legacy_irqs(void) | |||
1039 | continue; /* IRQ already used */ | 1044 | continue; /* IRQ already used */ |
1040 | } | 1045 | } |
1041 | 1046 | ||
1042 | mp_irqs[mp_irq_entries].mp_type = MP_INTSRC; | ||
1043 | mp_irqs[mp_irq_entries].mp_irqflag = 0; /* Conforming */ | ||
1044 | mp_irqs[mp_irq_entries].mp_srcbus = MP_ISA_BUS; | ||
1045 | mp_irqs[mp_irq_entries].mp_dstapic = mp_ioapics[ioapic].mp_apicid; | ||
1046 | mp_irqs[mp_irq_entries].mp_irqtype = mp_INT; | 1047 | mp_irqs[mp_irq_entries].mp_irqtype = mp_INT; |
1047 | mp_irqs[mp_irq_entries].mp_srcbusirq = i; /* Identity mapped */ | 1048 | mp_irqs[mp_irq_entries].mp_srcbusirq = i; /* Identity mapped */ |
1048 | mp_irqs[mp_irq_entries].mp_dstirq = i; | 1049 | mp_irqs[mp_irq_entries].mp_dstirq = i; |