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)
commitcc466666ab0920acfa879326ed9f7ef555323261
tree7882ae35bdf8870a4494245ecabfbafb119810a7
parent8121b8f947be0033f567619be204639a50cad298
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