amd64_edac: unify MCGCTL ECC switching
Unify almost identical code into one function and remove NUMA-specific
usage (specifically cpumask_of_node()) in favor of generic topology
methods.
Remove unused defines, while at it.
Signed-off-by: NBorislav Petkov <borislav.petkov@amd.com>
Showing
想要评论请 注册 或 登录