Skip to content

Commit

Permalink
x86, mce: fix "mce" boot option handling for CONFIG_X86_NEW_MCE
Browse files Browse the repository at this point in the history
"mce argument mce ignored. Please use /sys" message shouldn't
be printed when using "mce" boot option.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Reviewed-by: Andi Kleen <andi@firstfloor.org>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
  • Loading branch information
Bartlomiej Zolnierkiewicz authored and H. Peter Anvin committed Jul 29, 2009
1 parent 94699b0 commit e3346fc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion arch/x86/kernel/cpu/mcheck/mce.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down

0 comments on commit e3346fc

Please sign in to comment.