summaryrefslogtreecommitdiff
path: root/sysutils/mcelog/files/patch-intel.c
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2016-03-08 06:53:10 +0000
committerKurt Jaeger <pi@FreeBSD.org>2016-03-08 06:53:10 +0000
commit72704a08a799038d894737574fd66e2f41dbc10c (patch)
treef1c3c06c51a926d8016d52386b81d7697cead31d /sysutils/mcelog/files/patch-intel.c
parentHook py-tldextract to the build (diff)
sysutils/mcelog: 1.0pre3 -> 133
- Added version prefix - Switched to github over master sites - Removed patch_strip - Changed hard LDFLAGS to include - Fixed version in source - Updated distfile - Regenerated patchfiles for portlint - Modified several patchfiles, adapted to new version - submitter becomes maintainer PR: 207145 Submitted by: Ultima1252@gmail.com Approved by: Jeremy Chadwick <jdc@koitsu.org> (maintainer)
Notes
Notes: svn path=/head/; revision=410604
Diffstat (limited to 'sysutils/mcelog/files/patch-intel.c')
-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);