diff options
Diffstat (limited to 'arch/x86_64/kernel/mce.c')
-rw-r--r-- | arch/x86_64/kernel/mce.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86_64/kernel/mce.c b/arch/x86_64/kernel/mce.c index 87ea8fdd43fd..a39a3edf9ed4 100644 --- a/arch/x86_64/kernel/mce.c +++ b/arch/x86_64/kernel/mce.c | |||
@@ -17,6 +17,7 @@ | |||
17 | #include <linux/fs.h> | 17 | #include <linux/fs.h> |
18 | #include <linux/cpu.h> | 18 | #include <linux/cpu.h> |
19 | #include <linux/percpu.h> | 19 | #include <linux/percpu.h> |
20 | #include <linux/ctype.h> | ||
20 | #include <asm/processor.h> | 21 | #include <asm/processor.h> |
21 | #include <asm/msr.h> | 22 | #include <asm/msr.h> |
22 | #include <asm/mce.h> | 23 | #include <asm/mce.h> |
@@ -489,6 +490,7 @@ static int __init mcheck_disable(char *str) | |||
489 | 490 | ||
490 | /* mce=off disables machine check. Note you can reenable it later | 491 | /* mce=off disables machine check. Note you can reenable it later |
491 | using sysfs. | 492 | using sysfs. |
493 | mce=TOLERANCELEVEL (number, see above) | ||
492 | mce=bootlog Log MCEs from before booting. Disabled by default to work | 494 | mce=bootlog Log MCEs from before booting. Disabled by default to work |
493 | around buggy BIOS that leave bogus MCEs. */ | 495 | around buggy BIOS that leave bogus MCEs. */ |
494 | static int __init mcheck_enable(char *str) | 496 | static int __init mcheck_enable(char *str) |
@@ -499,6 +501,8 @@ static int __init mcheck_enable(char *str) | |||
499 | mce_dont_init = 1; | 501 | mce_dont_init = 1; |
500 | else if (!strcmp(str, "bootlog")) | 502 | else if (!strcmp(str, "bootlog")) |
501 | mce_bootlog = 1; | 503 | mce_bootlog = 1; |
504 | else if (isdigit(str[0])) | ||
505 | get_option(&str, &tolerant); | ||
502 | else | 506 | else |
503 | printk("mce= argument %s ignored. Please use /sys", str); | 507 | printk("mce= argument %s ignored. Please use /sys", str); |
504 | return 0; | 508 | return 0; |