|
@@ -26,7 +26,7 @@ static int nfit_handle_mce(struct notifier_block *nb, unsigned long val,
|
|
|
struct nfit_spa *nfit_spa;
|
|
struct nfit_spa *nfit_spa;
|
|
|
|
|
|
|
|
/* We only care about memory errors */
|
|
/* We only care about memory errors */
|
|
|
- if (!(mce->status & MCACOD))
|
|
|
|
|
|
|
+ if (!mce_is_memory_error(mce))
|
|
|
return NOTIFY_DONE;
|
|
return NOTIFY_DONE;
|
|
|
|
|
|
|
|
/*
|
|
/*
|