Commit 711554db authored by Yinghai Lu's avatar Yinghai Lu Committed by Ingo Molnar

x86: print out buggy mptable

print out buggy mptable, instead of skipping it quietly
Signed-off-by: default avatarYinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 6107a7c4
...@@ -390,10 +390,13 @@ static int __init smp_read_mpc(struct mp_config_table *mpc, unsigned early) ...@@ -390,10 +390,13 @@ static int __init smp_read_mpc(struct mp_config_table *mpc, unsigned early)
break; break;
} }
default: default:
{ /* wrong mptable */
count = mpc->mpc_length; printk(KERN_ERR "Your mptable is wrong, contact your HW vendor!\n");
break; 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 #ifdef CONFIG_X86_NUMAQ
++mpc_record; ++mpc_record;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment