diff --git a/drivers/edac/sb_edac.c b/drivers/edac/sb_edac.c index f256a121fec30fc7acef9ed70b1066189085b940..843545beba6415a1a954d2390aa64dcdac83aa2a 100644 --- a/drivers/edac/sb_edac.c +++ b/drivers/edac/sb_edac.c @@ -923,7 +923,7 @@ static int get_memory_error_data(struct mem_ctl_info *mci, addr, limit, sad_way + 7, - INTERLEAVE_MODE(reg) ? "" : "XOR[18:16]"); + interleave_mode ? "" : "XOR[18:16]"); if (interleave_mode) idx = ((addr >> 6) ^ (addr >> 16)) & 7; else