diff options
Diffstat (limited to 'arch/x86/kernel/cpu/mcheck')
-rw-r--r-- | arch/x86/kernel/cpu/mcheck/mce.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/mcheck/mce.c b/arch/x86/kernel/cpu/mcheck/mce.c index 7bd19c7f5315..75919440a188 100644 --- a/arch/x86/kernel/cpu/mcheck/mce.c +++ b/arch/x86/kernel/cpu/mcheck/mce.c | |||
@@ -1549,8 +1549,10 @@ static struct miscdevice mce_log_device = { | |||
1549 | */ | 1549 | */ |
1550 | static int __init mcheck_enable(char *str) | 1550 | static int __init mcheck_enable(char *str) |
1551 | { | 1551 | { |
1552 | if (*str == 0) | 1552 | if (*str == 0) { |
1553 | enable_p5_mce(); | 1553 | enable_p5_mce(); |
1554 | return 1; | ||
1555 | } | ||
1554 | if (*str == '=') | 1556 | if (*str == '=') |
1555 | str++; | 1557 | str++; |
1556 | if (!strcmp(str, "off")) | 1558 | if (!strcmp(str, "off")) |