diff options
author | Yinghai Lu <yhlu.kernel.send@gmail.com> | 2008-05-12 09:43:38 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-05-25 04:55:12 -0400 |
commit | 11a62a056093a7f25f1595fbd8bd5f93559572b6 (patch) | |
tree | 8c13457bf7f07e95701c407c7355a50b4a0d3726 /arch/x86/kernel/mpparse.c | |
parent | 4a139a7fdec8964cecf7a3564ee7ae327141d495 (diff) |
x86: cleanup print out for mptable
the new output is:
MPTABLE: OEM ID: SUN
MPTABLE: Product ID: 4600 M2
MPTABLE: APIC at: 0x
instead of it all in one line with <6> and double Product ID...
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/mpparse.c')
-rw-r--r-- | arch/x86/kernel/mpparse.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/arch/x86/kernel/mpparse.c b/arch/x86/kernel/mpparse.c index bb7213335991..5a18b2b9852e 100644 --- a/arch/x86/kernel/mpparse.c +++ b/arch/x86/kernel/mpparse.c | |||
@@ -113,7 +113,7 @@ static void __init MP_bus_info(struct mpc_config_bus *m) | |||
113 | #ifdef CONFIG_X86_NUMAQ | 113 | #ifdef CONFIG_X86_NUMAQ |
114 | mpc_oem_bus_info(m, str, translation_table[mpc_record]); | 114 | mpc_oem_bus_info(m, str, translation_table[mpc_record]); |
115 | #else | 115 | #else |
116 | Dprintk("Bus #%d is %s\n", m->mpc_busid, str); | 116 | printk(KERN_INFO "Bus #%d is %s\n", m->mpc_busid, str); |
117 | #endif | 117 | #endif |
118 | 118 | ||
119 | #if MAX_MP_BUSSES < 256 | 119 | #if MAX_MP_BUSSES < 256 |
@@ -183,7 +183,7 @@ static void __init MP_ioapic_info(struct mpc_config_ioapic *m) | |||
183 | static void __init MP_intsrc_info(struct mpc_config_intsrc *m) | 183 | static void __init MP_intsrc_info(struct mpc_config_intsrc *m) |
184 | { | 184 | { |
185 | mp_irqs[mp_irq_entries] = *m; | 185 | mp_irqs[mp_irq_entries] = *m; |
186 | Dprintk("Int: type %d, pol %d, trig %d, bus %d," | 186 | printk(KERN_INFO "Int: type %d, pol %d, trig %d, bus %02x," |
187 | " IRQ %02x, APIC ID %x, APIC INT %02x\n", | 187 | " IRQ %02x, APIC ID %x, APIC INT %02x\n", |
188 | m->mpc_irqtype, m->mpc_irqflag & 3, | 188 | m->mpc_irqtype, m->mpc_irqflag & 3, |
189 | (m->mpc_irqflag >> 2) & 3, m->mpc_srcbus, | 189 | (m->mpc_irqflag >> 2) & 3, m->mpc_srcbus, |
@@ -196,7 +196,7 @@ static void __init MP_intsrc_info(struct mpc_config_intsrc *m) | |||
196 | 196 | ||
197 | static void __init MP_lintsrc_info(struct mpc_config_lintsrc *m) | 197 | static void __init MP_lintsrc_info(struct mpc_config_lintsrc *m) |
198 | { | 198 | { |
199 | Dprintk("Lint: type %d, pol %d, trig %d, bus %d," | 199 | printk(KERN_INFO "Lint: type %d, pol %d, trig %d, bus %02x," |
200 | " IRQ %02x, APIC ID %x, APIC LINT %02x\n", | 200 | " IRQ %02x, APIC ID %x, APIC LINT %02x\n", |
201 | m->mpc_irqtype, m->mpc_irqflag & 3, | 201 | m->mpc_irqtype, m->mpc_irqflag & 3, |
202 | (m->mpc_irqflag >> 2) & 3, m->mpc_srcbusid, | 202 | (m->mpc_irqflag >> 2) & 3, m->mpc_srcbusid, |
@@ -309,16 +309,15 @@ static int __init smp_read_mpc(struct mp_config_table *mpc, unsigned early) | |||
309 | } | 309 | } |
310 | memcpy(oem, mpc->mpc_oem, 8); | 310 | memcpy(oem, mpc->mpc_oem, 8); |
311 | oem[8] = 0; | 311 | oem[8] = 0; |
312 | printk(KERN_INFO "MPTABLE: OEM ID: %s ", oem); | 312 | printk(KERN_INFO "MPTABLE: OEM ID: %s\n", oem); |
313 | 313 | ||
314 | memcpy(str, mpc->mpc_productid, 12); | 314 | memcpy(str, mpc->mpc_productid, 12); |
315 | str[12] = 0; | 315 | str[12] = 0; |
316 | printk("Product ID: %s ", str); | ||
317 | 316 | ||
318 | #ifdef CONFIG_X86_32 | 317 | #ifdef CONFIG_X86_32 |
319 | mps_oem_check(mpc, oem, str); | 318 | mps_oem_check(mpc, oem, str); |
320 | #endif | 319 | #endif |
321 | printk(KERN_INFO "MPTABLE: Product ID: %s ", str); | 320 | printk(KERN_INFO "MPTABLE: Product ID: %s\n", str); |
322 | 321 | ||
323 | printk(KERN_INFO "MPTABLE: APIC at: 0x%X\n", mpc->mpc_lapic); | 322 | printk(KERN_INFO "MPTABLE: APIC at: 0x%X\n", mpc->mpc_lapic); |
324 | 323 | ||
@@ -689,7 +688,7 @@ static int __init smp_scan_config(unsigned long base, unsigned long length, | |||
689 | unsigned int *bp = phys_to_virt(base); | 688 | unsigned int *bp = phys_to_virt(base); |
690 | struct intel_mp_floating *mpf; | 689 | struct intel_mp_floating *mpf; |
691 | 690 | ||
692 | Dprintk("Scan SMP from %p for %ld bytes.\n", bp, length); | 691 | printk(KERN_DEBUG "Scan SMP from %p for %ld bytes.\n", bp, length); |
693 | BUILD_BUG_ON(sizeof(*mpf) != 16); | 692 | BUILD_BUG_ON(sizeof(*mpf) != 16); |
694 | 693 | ||
695 | while (length > 0) { | 694 | while (length > 0) { |