Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e3346fc4 authored by Bartlomiej Zolnierkiewicz's avatar Bartlomiej Zolnierkiewicz Committed by H. Peter Anvin
Browse files

x86, mce: fix "mce" boot option handling for CONFIG_X86_NEW_MCE



"mce argument mce ignored. Please use /sys" message shouldn't
be printed when using "mce" boot option.

Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Reviewed-by: default avatarAndi Kleen <andi@firstfloor.org>
Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
parent 94699b04
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1549,8 +1549,10 @@ static struct miscdevice mce_log_device = {
 */
static int __init mcheck_enable(char *str)
{
	if (*str == 0)
	if (*str == 0) {
		enable_p5_mce();
		return 1;
	}
	if (*str == '=')
		str++;
	if (!strcmp(str, "off"))