diff options
| author | Yinghai Lu <yhlu.kernel.send@gmail.com> | 2008-04-07 14:36:39 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 11:41:36 -0400 |
| commit | 711554dbc4d5402338ce115dca0df38e9f633330 (patch) | |
| tree | da42f1a42bcedb10aeb1f21f61a419c1d2f0eea7 /arch/x86/kernel | |
| parent | 6107a7c4e2a871c37bb6c49e5e8286079f0968f9 (diff) | |
x86: print out buggy mptable
print out buggy mptable, instead of skipping it quietly
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel')
| -rw-r--r-- | arch/x86/kernel/mpparse.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/arch/x86/kernel/mpparse.c b/arch/x86/kernel/mpparse.c index 6e5e4547981c..70744e344fa1 100644 --- a/arch/x86/kernel/mpparse.c +++ b/arch/x86/kernel/mpparse.c | |||
| @@ -390,10 +390,13 @@ static int __init smp_read_mpc(struct mp_config_table *mpc, unsigned early) | |||
| 390 | break; | 390 | break; |
| 391 | } | 391 | } |
| 392 | default: | 392 | default: |
| 393 | { | 393 | /* wrong mptable */ |
| 394 | count = mpc->mpc_length; | 394 | printk(KERN_ERR "Your mptable is wrong, contact your HW vendor!\n"); |
| 395 | break; | 395 | printk(KERN_ERR "type %x\n", *mpt); |
| 396 | } | 396 | print_hex_dump(KERN_ERR, " ", DUMP_PREFIX_ADDRESS, 16, |
| 397 | 1, mpc, mpc->mpc_length, 1); | ||
| 398 | count = mpc->mpc_length; | ||
| 399 | break; | ||
| 397 | } | 400 | } |
| 398 | #ifdef CONFIG_X86_NUMAQ | 401 | #ifdef CONFIG_X86_NUMAQ |
| 399 | ++mpc_record; | 402 | ++mpc_record; |
