x86/mce: Deduplicate exception handling
authorThomas Gleixner <tglx@linutronix.de>
Wed, 8 Sep 2021 13:29:15 +0000 (15:29 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Jul 2022 15:25:25 +0000 (17:25 +0200)
commitad2d98ea72d247fe8ca6f79de69ca287952c7770
tree477aba7bc71b19f5974e3912caadb8a9baeb89a9
parent3e6392ba3dceb8fef2db9d3095d503531ded2a0a
x86/mce: Deduplicate exception handling

[ Upstream commit e42404afc4ca856c48f1e05752541faa3587c472 ]

Prepare code for further simplification. No functional change.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20210908132525.096452100@linutronix.de
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/x86/kernel/cpu/mce/core.c