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>
This commit is contained in:
Yinghai Lu 2008-04-07 11:36:39 -07:00 committed by Ingo Molnar
parent 6107a7c4e2
commit 711554dbc4
1 changed files with 7 additions and 4 deletions

View File

@ -390,11 +390,14 @@ static int __init smp_read_mpc(struct mp_config_table *mpc, unsigned early)
break;
}
default:
{
/* wrong mptable */
printk(KERN_ERR "Your mptable is wrong, contact your HW vendor!\n");
printk(KERN_ERR "type %x\n", *mpt);
print_hex_dump(KERN_ERR, " ", DUMP_PREFIX_ADDRESS, 16,
1, mpc, mpc->mpc_length, 1);
count = mpc->mpc_length;
break;
}
}
#ifdef CONFIG_X86_NUMAQ
++mpc_record;
#endif