summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/edac/amd64_edac.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/edac/amd64_edac.c')
-rw-r--r--kernel/drivers/edac/amd64_edac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/drivers/edac/amd64_edac.c b/kernel/drivers/edac/amd64_edac.c
index 9eee13ef8..d87a47547 100644
--- a/kernel/drivers/edac/amd64_edac.c
+++ b/kernel/drivers/edac/amd64_edac.c
@@ -1452,7 +1452,7 @@ static u64 f1x_get_norm_dct_addr(struct amd64_pvt *pvt, u8 range,
u64 chan_off;
u64 dram_base = get_dram_base(pvt, range);
u64 hole_off = f10_dhar_offset(pvt);
- u64 dct_sel_base_off = (pvt->dct_sel_hi & 0xFFFFFC00) << 16;
+ u64 dct_sel_base_off = (u64)(pvt->dct_sel_hi & 0xFFFFFC00) << 16;
if (hi_rng) {
/*