diff options
| -rw-r--r-- | arch/x86/kernel/mpparse.c | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/arch/x86/kernel/mpparse.c b/arch/x86/kernel/mpparse.c index 101b13cab689..534790b6d0f1 100644 --- a/arch/x86/kernel/mpparse.c +++ b/arch/x86/kernel/mpparse.c | |||
| @@ -907,14 +907,7 @@ void __init mp_override_legacy_irq(u8 bus_irq, u8 polarity, u8 trigger, u32 gsi) | |||
| 907 | intsrc.mpc_dstapic = mp_ioapics[ioapic].mpc_apicid; /* APIC ID */ | 907 | intsrc.mpc_dstapic = mp_ioapics[ioapic].mpc_apicid; /* APIC ID */ |
| 908 | intsrc.mpc_dstirq = pin; /* INTIN# */ | 908 | intsrc.mpc_dstirq = pin; /* INTIN# */ |
| 909 | 909 | ||
| 910 | Dprintk("Int: type %d, pol %d, trig %d, bus %d, irq %d, %d-%d\n", | 910 | MP_intsrc_info(&intsrc); |
| 911 | intsrc.mpc_irqtype, intsrc.mpc_irqflag & 3, | ||
| 912 | (intsrc.mpc_irqflag >> 2) & 3, intsrc.mpc_srcbus, | ||
| 913 | intsrc.mpc_srcbusirq, intsrc.mpc_dstapic, intsrc.mpc_dstirq); | ||
| 914 | |||
| 915 | mp_irqs[mp_irq_entries] = intsrc; | ||
| 916 | if (++mp_irq_entries == MAX_IRQ_SOURCES) | ||
| 917 | panic("Max # of irq sources exceeded!\n"); | ||
| 918 | } | 911 | } |
| 919 | 912 | ||
| 920 | int es7000_plat; | 913 | int es7000_plat; |
| @@ -983,15 +976,7 @@ void __init mp_config_acpi_legacy_irqs(void) | |||
| 983 | intsrc.mpc_srcbusirq = i; /* Identity mapped */ | 976 | intsrc.mpc_srcbusirq = i; /* Identity mapped */ |
| 984 | intsrc.mpc_dstirq = i; | 977 | intsrc.mpc_dstirq = i; |
| 985 | 978 | ||
| 986 | Dprintk("Int: type %d, pol %d, trig %d, bus %d, irq %d, " | 979 | MP_intsrc_info(&intsrc); |
| 987 | "%d-%d\n", intsrc.mpc_irqtype, intsrc.mpc_irqflag & 3, | ||
| 988 | (intsrc.mpc_irqflag >> 2) & 3, intsrc.mpc_srcbus, | ||
| 989 | intsrc.mpc_srcbusirq, intsrc.mpc_dstapic, | ||
| 990 | intsrc.mpc_dstirq); | ||
| 991 | |||
| 992 | mp_irqs[mp_irq_entries] = intsrc; | ||
| 993 | if (++mp_irq_entries == MAX_IRQ_SOURCES) | ||
| 994 | panic("Max # of irq sources exceeded!\n"); | ||
| 995 | } | 980 | } |
| 996 | } | 981 | } |
| 997 | 982 | ||
