diff --git a/drivers/edac/mce_amd.c b/drivers/edac/mce_amd.c index 59ad34c506a53caa2ede338bf0948790960be089..61e0e87d18417ccfa30df2f946a809125e6ce723 100644 --- a/drivers/edac/mce_amd.c +++ b/drivers/edac/mce_amd.c @@ -776,8 +776,8 @@ int amd_decode_mce(struct notifier_block *nb, unsigned long val, void *data) if (c->x86 == 0x15) pr_cont("|%s|%s", - ((m->status & BIT(44)) ? "Deferred" : "-"), - ((m->status & BIT(43)) ? "Poison" : "-")); + ((m->status & BIT_64(44)) ? "Deferred" : "-"), + ((m->status & BIT_64(43)) ? "Poison" : "-")); /* do the two bits[14:13] together */ ecc = (m->status >> 45) & 0x3;