EDAC, pnd2: Set MCE_PRIO_EDAC priority for pnd2_mce_dec notifier

Avoid giving it MCE_PRIO_LOWEST priority by default.

Signed-off-by: Zhenzhong Duan <zhenzhong.duan@gmail.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Link: https://lore.kernel.org/r/20200610065846.3626-1-zhenzhong.duan@gmail.com
This commit is contained in:
Zhenzhong Duan 2020-06-10 14:58:45 +08:00 committed by Tony Luck
parent b3a9e3b962
commit 30bf38e434

View File

@ -1432,6 +1432,7 @@ static int pnd2_mce_check_error(struct notifier_block *nb, unsigned long val, vo
static struct notifier_block pnd2_mce_dec = {
.notifier_call = pnd2_mce_check_error,
.priority = MCE_PRIO_EDAC,
};
#ifdef CONFIG_EDAC_DEBUG