x86/mce: Reduce boot-time logspam
PATCH 1/1 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 <[email protected]>
CC Keir Fraser <[email protected]>
CC Jan Beulich <[email protected]>
--- xen/arch/x86/cpu/mcheck/mce.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
xen/arch/x86/cpu/mcheck/mce.c +2 -1
@@ -730,7 +730,8 @@ 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 (bsp) +printk (XENLOG_INFO "MCE support disabled by bootparam\n" );return ; }
Signature · 1 line
1.7.10.4