summaryrefslogtreecommitdiff
path: root/sysutils/mcelog/files/patch-intel.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sysutils/mcelog/files/patch-intel.c15
1 files changed, 3 insertions, 12 deletions
diff --git a/sysutils/mcelog/files/patch-intel.c b/sysutils/mcelog/files/patch-intel.c
index 382f20b4158f..3d65bcd4c8e0 100644
--- a/sysutils/mcelog/files/patch-intel.c
+++ b/sysutils/mcelog/files/patch-intel.c
@@ -1,15 +1,6 @@
---- intel.c.orig 2010-01-20 18:36:52.000000000 -0800
-+++ intel.c 2012-09-22 01:58:40.204115724 -0700
-@@ -43,7 +43,7 @@
- return CPU_CORE2;
- else if (model == 0x1d)
- return CPU_DUNNINGTON;
-- else if (model == 0x1a)
-+ else if (model == 0x1a || model == 0x2c) /* Nehalem/Westmere */
- return CPU_NEHALEM;
- else if (model == 0x2e)
- return CPU_XEON75XX;
-@@ -94,14 +94,18 @@
+--- intel.c.orig 2016-02-10 18:38:43 UTC
++++ intel.c
+@@ -141,14 +141,18 @@ static int intel_memory_error(struct mce
if (recordlen > offsetof(struct mce, mcgcap) && m->mcgcap & MCG_CMCI_P)
corr_err_cnt = EXTRACT(m->status, 38, 52);
memory_error(m, channel[0], dimm[0], corr_err_cnt, recordlen);