|
@@ -2014,11 +2014,8 @@ static int __init mcheck_enable(char *str)
|
|
|
else if (!strcmp(str, "bios_cmci_threshold"))
|
|
|
cfg->bios_cmci_threshold = true;
|
|
|
else if (isdigit(str[0])) {
|
|
|
- get_option(&str, &(cfg->tolerant));
|
|
|
- if (*str == ',') {
|
|
|
- ++str;
|
|
|
+ if (get_option(&str, &cfg->tolerant) == 2)
|
|
|
get_option(&str, &(cfg->monarch_timeout));
|
|
|
- }
|
|
|
} else {
|
|
|
pr_info("mce argument %s ignored. Please use /sys\n", str);
|
|
|
return 0;
|