diff options
author | Alexey Starikovskiy <astarikovskiy@suse.de> | 2008-05-14 11:03:17 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-05-25 04:55:13 -0400 |
commit | 2fddb6e28e903a3ab1704cc5aac01be5a59dc05b (patch) | |
tree | 4b24d694fe60ac0be3978b9fb238fe0150328af7 /arch/x86/kernel/mpparse.c | |
parent | ec2cd0a22e2715f776a934e01c4f8ea098324fe1 (diff) |
x86: make config_irqsrc not MPspec specific
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/mpparse.c')
-rw-r--r-- | arch/x86/kernel/mpparse.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/x86/kernel/mpparse.c b/arch/x86/kernel/mpparse.c index 9f1e5bf7f0f..59f051db236 100644 --- a/arch/x86/kernel/mpparse.c +++ b/arch/x86/kernel/mpparse.c | |||
@@ -186,12 +186,18 @@ static void __init MP_ioapic_info(struct mpc_config_ioapic *m) | |||
186 | 186 | ||
187 | static void __init MP_intsrc_info(struct mpc_config_intsrc *m) | 187 | static void __init MP_intsrc_info(struct mpc_config_intsrc *m) |
188 | { | 188 | { |
189 | mp_irqs[mp_irq_entries] = *m; | ||
190 | printk(KERN_INFO "Int: type %d, pol %d, trig %d, bus %02x," | 189 | printk(KERN_INFO "Int: type %d, pol %d, trig %d, bus %02x," |
191 | " IRQ %02x, APIC ID %x, APIC INT %02x\n", | 190 | " IRQ %02x, APIC ID %x, APIC INT %02x\n", |
192 | m->mpc_irqtype, m->mpc_irqflag & 3, | 191 | m->mpc_irqtype, m->mpc_irqflag & 3, |
193 | (m->mpc_irqflag >> 2) & 3, m->mpc_srcbus, | 192 | (m->mpc_irqflag >> 2) & 3, m->mpc_srcbus, |
194 | m->mpc_srcbusirq, m->mpc_dstapic, m->mpc_dstirq); | 193 | m->mpc_srcbusirq, m->mpc_dstapic, m->mpc_dstirq); |
194 | mp_irqs[mp_irq_entries].mp_dstapic = m->mpc_dstapic; | ||
195 | mp_irqs[mp_irq_entries].mp_type = m->mpc_type; | ||
196 | mp_irqs[mp_irq_entries].mp_irqtype = m->mpc_irqtype; | ||
197 | mp_irqs[mp_irq_entries].mp_irqflag = m->mpc_irqflag; | ||
198 | mp_irqs[mp_irq_entries].mp_srcbus = m->mpc_srcbus; | ||
199 | mp_irqs[mp_irq_entries].mp_srcbusirq = m->mpc_srcbusirq; | ||
200 | mp_irqs[mp_irq_entries].mp_dstirq = m->mpc_dstirq; | ||
195 | if (++mp_irq_entries == MAX_IRQ_SOURCES) | 201 | if (++mp_irq_entries == MAX_IRQ_SOURCES) |
196 | panic("Max # of irq sources exceeded!!\n"); | 202 | panic("Max # of irq sources exceeded!!\n"); |
197 | } | 203 | } |