summaryrefslogtreecommitdiffstats
path: root/drivers/edac/edac_mc_sysfs.c
diff options
context:
space:
mode:
authorYazen Ghannam <yazen.ghannam@amd.com>2017-03-20 21:26:51 +0100
committerBorislav Petkov <bp@suse.de>2017-07-17 07:01:08 +0200
commitfbe63acf62f57f8e51adae602c5ce1025002d5ee (patch)
treec4216c4f282031c5170821cb6df35d7008cff7b0 /drivers/edac/edac_mc_sysfs.c
parentLinux v4.13-rc1 (diff)
downloadlinux-fbe63acf62f57f8e51adae602c5ce1025002d5ee.tar.xz
linux-fbe63acf62f57f8e51adae602c5ce1025002d5ee.zip
EDAC, mce_amd: Use cpu_to_node() to find the node ID
Using the homegrown amd_get_nb_id() to find a node ID on AMD was fine while the L3 to node mapping was 1:1. And Zen topology broke this. So let's start slowly moving away from it and use the topology interfaces instead. Signed-off-by: Yazen Ghannam <yazen.ghannam@amd.com> Cc: linux-edac <linux-edac@vger.kernel.org> Cc: x86-ml <x86@kernel.org> Link: http://lkml.kernel.org/r/1490041614-90057-2-git-send-email-Yazen.Ghannam@amd.com [ Massage commit message. ] Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'drivers/edac/edac_mc_sysfs.c')
0 files changed, 0 insertions, 0 deletions