aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/edac')
-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 a44e90abb755..4129aa0930cd 100644
--- a/drivers/edac/amd64_edac.c
+++ b/drivers/edac/amd64_edac.c
@@ -1435,7 +1435,7 @@ static inline u64 f10_get_base_addr_offset(u64 sys_addr, int hi_range_sel,
1435 u64 chan_off; 1435 u64 chan_off;
1436 1436
1437 if (hi_range_sel) { 1437 if (hi_range_sel) {
1438 if (!(dct_sel_base_addr & 0xFFFFF800) && 1438 if (!(dct_sel_base_addr & 0xFFFF0000) &&
1439 hole_valid && (sys_addr >= 0x100000000ULL)) 1439 hole_valid && (sys_addr >= 0x100000000ULL))
1440 chan_off = hole_off << 16; 1440 chan_off = hole_off << 16;
1441 else 1441 else