summaryrefslogtreecommitdiffstats
path: root/drivers/edac/amd64_edac.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-17 09:45:58 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-17 09:45:58 +0200
commit9fbf82c7641408386ddad162fd70234a574fcd3e (patch)
tree85cbad08cdca621aa7dd1fd51a1198063a3de75b /drivers/edac/amd64_edac.c
parentusb: core: hcd: use map_urb_for_dma for single step set feature urb (diff)
parentLinux 5.13-rc2 (diff)
downloadlinux-9fbf82c7641408386ddad162fd70234a574fcd3e.tar.xz
linux-9fbf82c7641408386ddad162fd70234a574fcd3e.zip
Merge 5.13-rc2 into usb-next
We need the USB fixes in here as well. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/edac/amd64_edac.c')
-rw-r--r--drivers/edac/amd64_edac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/edac/amd64_edac.c b/drivers/edac/amd64_edac.c
index 9fa4dfc6ebee..f0d8f60acee1 100644
--- a/drivers/edac/amd64_edac.c
+++ b/drivers/edac/amd64_edac.c
@@ -3083,7 +3083,7 @@ static void read_mc_regs(struct amd64_pvt *pvt)
edac_dbg(0, " TOP_MEM: 0x%016llx\n", pvt->top_mem);
/* Check first whether TOP_MEM2 is enabled: */
- rdmsrl(MSR_K8_SYSCFG, msr_val);
+ rdmsrl(MSR_AMD64_SYSCFG, msr_val);
if (msr_val & BIT(21)) {
rdmsrl(MSR_K8_TOP_MEM2, pvt->top_mem2);
edac_dbg(0, " TOP_MEM2: 0x%016llx\n", pvt->top_mem2);