mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
x86/mce: Kill drain_mcelog_buffer()
This used to flush out MCEs logged during early boot and which were in the MCA registers from a previous system run. No need for that now, since we've moved to a genpool. Suggested-by: Tony Luck <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
This commit is contained in:
parent
f29a7aff4b
commit
eef4dfa0cb
6 changed files with 7 additions and 47 deletions
|
|
@ -2424,7 +2424,7 @@ static int __init i7core_init(void)
|
|||
pci_rc = pci_register_driver(&i7core_driver);
|
||||
|
||||
if (pci_rc >= 0) {
|
||||
mce_register_decode_chain(&i7_mce_dec, true);
|
||||
mce_register_decode_chain(&i7_mce_dec);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -895,7 +895,7 @@ static int __init mce_amd_init(void)
|
|||
|
||||
pr_info("MCE: In-kernel MCE decoding enabled.\n");
|
||||
|
||||
mce_register_decode_chain(&amd_mce_dec_nb, true);
|
||||
mce_register_decode_chain(&amd_mce_dec_nb);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2591,7 +2591,7 @@ static int __init sbridge_init(void)
|
|||
|
||||
pci_rc = pci_register_driver(&sbridge_driver);
|
||||
if (pci_rc >= 0) {
|
||||
mce_register_decode_chain(&sbridge_mce_dec, true);
|
||||
mce_register_decode_chain(&sbridge_mce_dec);
|
||||
if (get_edac_report_status() == EDAC_REPORTING_DISABLED)
|
||||
sbridge_printk(KERN_WARNING, "Loading driver, error reporting disabled.\n");
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue