Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 200076
b: refs/heads/master
c: 3b918c1
h: refs/heads/master
v: v3
  • Loading branch information
Randy Dunlap authored and Mauro Carvalho Chehab committed May 10, 2010
1 parent 5742751 commit 3a19a49
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 486dd09f129da01cd02b212ba48dce987488b860
refs/heads/master: 3b918c12df4f624140456d6c6f982bada8e1f095
3 changes: 3 additions & 0 deletions trunk/drivers/edac/i7core_edac.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#include <linux/pci.h>
#include <linux/pci_ids.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/edac.h>
#include <linux/mmzone.h>
#include <linux/edac_mce.h>
Expand Down Expand Up @@ -1696,9 +1697,11 @@ static int i7core_mce_check_error(void *priv, struct mce *mce)
if (mce->bank != 8)
return 0;

#ifdef CONFIG_SMP
/* Only handle if it is the right mc controller */
if (cpu_data(mce->cpu).phys_proc_id != pvt->i7core_dev->socket)
return 0;
#endif

smp_rmb();
if ((pvt->mce_out + 1) % MCE_LOG_LEN == pvt->mce_in) {
Expand Down

0 comments on commit 3a19a49

Please sign in to comment.