mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 12:10:52 -04:00
x86/ras, EDAC, acpi: Assign MCE notifier handlers a priority
Assign all notifiers on the MCE decode chain a priority so that they get called in the correct order. Suggested-by: Thomas Gleixner <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Tony Luck <[email protected]> Cc: Yazen Ghannam <[email protected]> Cc: linux-edac <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
This commit is contained in:
parent
cff4c0391a
commit
9026cc82b6
8 changed files with 20 additions and 7 deletions
|
|
@ -212,6 +212,7 @@ static bool __init extlog_get_l1addr(void)
|
|||
}
|
||||
static struct notifier_block extlog_mce_dec = {
|
||||
.notifier_call = extlog_print,
|
||||
.priority = MCE_PRIO_EXTLOG,
|
||||
};
|
||||
|
||||
static int __init extlog_init(void)
|
||||
|
|
|
|||
|
|
@ -90,6 +90,7 @@ static int nfit_handle_mce(struct notifier_block *nb, unsigned long val,
|
|||
|
||||
static struct notifier_block nfit_mce_dec = {
|
||||
.notifier_call = nfit_handle_mce,
|
||||
.priority = MCE_PRIO_NFIT,
|
||||
};
|
||||
|
||||
void nfit_mce_register(void)
|
||||
|
|
|
|||
Loading…
Reference in a new issue