x86, MCA: Finish mca_config conversion
mce_ser, mce_bios_cmci_threshold and mce_disabled are the last three bools which need conversion. Move them to the mca_config struct and adjust usage sites accordingly. Signed-off-by: Borislav Petkov <bp@alien8.de> Acked-by: Tony Luck <tony.luck@intel.com>
This commit is contained in:
@@ -193,9 +193,9 @@ int mce_severity(struct mce *m, int tolerant, char **msg)
|
||||
continue;
|
||||
if ((m->mcgstatus & s->mcgmask) != s->mcgres)
|
||||
continue;
|
||||
if (s->ser == SER_REQUIRED && !mce_ser)
|
||||
if (s->ser == SER_REQUIRED && !mca_cfg.ser)
|
||||
continue;
|
||||
if (s->ser == NO_SER && mce_ser)
|
||||
if (s->ser == NO_SER && mca_cfg.ser)
|
||||
continue;
|
||||
if (s->context && ctx != s->context)
|
||||
continue;
|
||||
|
Reference in New Issue
Block a user