Skip to content
Commit 5ddcd349 authored by Borislav Petkov's avatar Borislav Petkov Committed by Greg Kroah-Hartman
Browse files

x86/mce: Get rid of msr_ops



[ Upstream commit 8121b8f9 ]

Avoid having indirect calls and use a normal function which returns the
proper MSR address based on ->smca setting.

No functional changes.

Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
Reviewed-by: default avatarTony Luck <tony.luck@intel.com>
Link: https://lkml.kernel.org/r/20210922165101.18951-4-bp@alien8.de


Stable-dep-of: bc1b705b ("x86/MCE/AMD: Clear DFR errors found in THR handler")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent b8e7ed42
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment