diff options
author | Zhenzhong Duan <zhenzhong.duan@gmail.com> | 2020-06-10 08:58:45 +0200 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2020-06-15 20:19:39 +0200 |
commit | 30bf38e4341bd7b44e8036ad62f00e71c2ed8bb7 (patch) | |
tree | 1133b43e0ac27ccd43861dca7134fe74b15e46ff /drivers/edac/pnd2_edac.c | |
parent | Linux 5.8-rc1 (diff) | |
download | linux-30bf38e4341bd7b44e8036ad62f00e71c2ed8bb7.tar.xz linux-30bf38e4341bd7b44e8036ad62f00e71c2ed8bb7.zip |
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
Diffstat (limited to 'drivers/edac/pnd2_edac.c')
-rw-r--r-- | drivers/edac/pnd2_edac.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/edac/pnd2_edac.c b/drivers/edac/pnd2_edac.c index c1f2e6deb021..fd363746f5b0 100644 --- a/drivers/edac/pnd2_edac.c +++ b/drivers/edac/pnd2_edac.c @@ -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 |