mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 02:30:03 +01:00
x86/mce: Reduce boot-time logspam
When booting with "no-mce", the user does not need to be told that "MCE support [was] disabled by bootparam" for each cpu. Furthermore, a file:line reference is unnecessary. Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
This commit is contained in:
1 parent
6d27a53772
commit
a5ab9c9fa2
1 file changed
+4
-2
@@ -729,8 +729,10 @@ void mcheck_init(struct cpuinfo_x86 *c, bool_t bsp)
|
||||
{
|
||||
enum mcheck_type inited = mcheck_none;
|
||||
|
||||
if (mce_disabled == 1) {
|
||||
dprintk(XENLOG_INFO, "MCE support disabled by bootparam\n");
|
||||
if ( mce_disabled )
|
||||
{
|
||||
if ( bsp )
|
||||
printk(XENLOG_INFO "MCE support disabled by bootparam\n");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||