aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/edac/i7core_edac.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/edac/i7core_edac.c b/drivers/edac/i7core_edac.c
index 5bc316b8e805..335d9ed02c45 100644
--- a/drivers/edac/i7core_edac.c
+++ b/drivers/edac/i7core_edac.c
@@ -1681,8 +1681,13 @@ static int i7core_mce_check_error(void *priv, struct mce *mce)
1681 return 0; 1681 return 0;
1682 1682
1683 /* Only handle if it is the right mc controller */ 1683 /* Only handle if it is the right mc controller */
1684 if (cpu_data(mce->cpu).phys_proc_id != pvt->i7core_dev->socket) 1684 if (cpu_data(mce->cpu).phys_proc_id != pvt->i7core_dev->socket) {
1685 debugf0("mc%d: ignoring mce log for socket %d. "
1686 "Another mc should get it.\n",
1687 pvt->i7core_dev->socket,
1688 cpu_data(mce->cpu).phys_proc_id);
1685 return 0; 1689 return 0;
1690 }
1686 1691
1687 spin_lock_irqsave(&pvt->mce_lock, flags); 1692 spin_lock_irqsave(&pvt->mce_lock, flags);
1688 if (pvt->mce_count < MCE_LOG_LEN) { 1693 if (pvt->mce_count < MCE_LOG_LEN) {