* [PATCH] x86: print out buggy mptable
@ 2008-04-07 18:36 Yinghai Lu
2008-04-07 18:47 ` Ingo Molnar
0 siblings, 1 reply; 2+ messages in thread
From: Yinghai Lu @ 2008-04-07 18:36 UTC (permalink / raw)
To: Ingo Molnar, Andrew Morton; +Cc: kernel list
print out buggy mptable, instead of skipping it quietly
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Index: linux-2.6/arch/x86/kernel/mpparse.c
===================================================================
--- linux-2.6.orig/arch/x86/kernel/mpparse.c
+++ linux-2.6/arch/x86/kernel/mpparse.c
@@ -391,6 +391,10 @@ static int __init smp_read_mpc(struct mp
}
default:
{
+ /* wrong mptable */
+ printk(KERN_ERR "type %x\n", *mpt);
+ printk(KERN_ERR "Your mptable is wrong, contact your HW vendor!\n");
+ print_hex_dump(KERN_ERR, " ", DUMP_PREFIX_ADDRESS, 16, 1, mpc, mpc->mpc_length, 1);
count = mpc->mpc_length;
break;
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] x86: print out buggy mptable
2008-04-07 18:36 [PATCH] x86: print out buggy mptable Yinghai Lu
@ 2008-04-07 18:47 ` Ingo Molnar
0 siblings, 0 replies; 2+ messages in thread
From: Ingo Molnar @ 2008-04-07 18:47 UTC (permalink / raw)
To: yhlu.kernel; +Cc: Andrew Morton, kernel list
* Yinghai Lu <yhlu.kernel.send@gmail.com> wrote:
> print out buggy mptable, instead of skipping it quietly
thanks Yinghai, applied.
Ingo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-04-07 18:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-07 18:36 [PATCH] x86: print out buggy mptable Yinghai Lu
2008-04-07 18:47 ` Ingo Molnar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).