projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6107a7c
)
x86: print out buggy mptable
author
Yinghai Lu
<
[email protected]
>
Mon, 7 Apr 2008 18:36:39 +0000
(11:36 -0700)
committer
Ingo Molnar
<
[email protected]
>
Thu, 17 Apr 2008 15:41:36 +0000
(17:41 +0200)
print out buggy mptable, instead of skipping it quietly
Signed-off-by: Yinghai Lu <
[email protected]
>
Signed-off-by: Ingo Molnar <
[email protected]
>
arch/x86/kernel/mpparse.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/mpparse.c
b/arch/x86/kernel/mpparse.c
index 6e5e4547981cfc2677926d4cb248b5313106b7ee..70744e344fa1f7541e249299f1a056d2689cf7c3 100644
(file)
--- 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)
break;
}
default:
- {
- count = mpc->mpc_length;
- break;
- }
+ /* 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;