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

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
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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