]> git.baikalelectronics.ru Git - kernel.git/commit
x86/mce: Get rid of the ->quirk_no_way_out() indirect call
authorBorislav Petkov <bp@suse.de>
Thu, 2 Sep 2021 18:23:00 +0000 (20:23 +0200)
committerBorislav Petkov <bp@suse.de>
Thu, 23 Sep 2021 09:34:49 +0000 (11:34 +0200)
commit26a590327ecb0cd5578c56a013e762a637931342
tree7882ae35bdf8870a4494245ecabfbafb119810a7
parente1bcd4ecdb4d739f1a98ce1474a1e3fa993b2da7
x86/mce: Get rid of the ->quirk_no_way_out() indirect call

Use a flag setting to call the only quirk function for that.

No functional changes.

Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Tony Luck <tony.luck@intel.com>
Link: https://lkml.kernel.org/r/20210922165101.18951-5-bp@alien8.de
arch/x86/kernel/cpu/mce/core.c
arch/x86/kernel/cpu/mce/internal.h