mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-14 15:54:15 +08:00
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:
parent
b3a9e3b962
commit
30bf38e434
@ -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 = {
|
static struct notifier_block pnd2_mce_dec = {
|
||||||
.notifier_call = pnd2_mce_check_error,
|
.notifier_call = pnd2_mce_check_error,
|
||||||
|
.priority = MCE_PRIO_EDAC,
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef CONFIG_EDAC_DEBUG
|
#ifdef CONFIG_EDAC_DEBUG
|
||||||
|
Loading…
Reference in New Issue
Block a user