Commit 30bf38e4 authored by Zhenzhong Duan's avatar Zhenzhong Duan Committed by Tony Luck

EDAC, pnd2: Set MCE_PRIO_EDAC priority for pnd2_mce_dec notifier

Avoid giving it MCE_PRIO_LOWEST priority by default.
Signed-off-by: default avatarZhenzhong Duan <zhenzhong.duan@gmail.com>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
Link: https://lore.kernel.org/r/20200610065846.3626-1-zhenzhong.duan@gmail.com
parent b3a9e3b9
...@@ -1432,6 +1432,7 @@ static int pnd2_mce_check_error(struct notifier_block *nb, unsigned long val, vo ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment