aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2016-08-24 10:16:36 -0700
committerAndi Kleen <ak@linux.intel.com>2016-08-24 10:16:36 -0700
commit0472e07bde9843491c16c194e720073545107234 (patch)
treec9bdfbed1686399d982a35572f8868ec73e66558
parent57d317acf8086632ffa83358f833229f5bd966e8 (diff)
downloadmcelog-0472e07bde9843491c16c194e720073545107234.tar.gz
Remove empty xeon-75xx files
The Xeon 75xx special DIMM decoding support was removed some time ago, but the files were still around with empty stub functions. Remove the files too and all the code in the callers. Signed-off-by: Andi Kleen <ak@linux.intel.com>
-rw-r--r--Makefile2
-rw-r--r--intel.c4
-rw-r--r--nehalem.c2
-rw-r--r--xeon75xx.c39
-rw-r--r--xeon75xx.h2
5 files changed, 1 insertions, 48 deletions
diff --git a/Makefile b/Makefile
index 8308612..44cbe0d 100644
--- a/Makefile
+++ b/Makefile
@@ -31,7 +31,7 @@ OBJ := p4.o k8.o mcelog.o dmi.o tsc.o core2.o bitfield.o intel.o \
nehalem.o dunnington.o tulsa.o config.o memutil.o msg.o \
eventloop.o leaky-bucket.o memdb.o server.o trigger.o \
client.o cache.o sysfs.o yellow.o page.o rbtree.o \
- xeon75xx.o sandy-bridge.o ivy-bridge.o haswell.o \
+ sandy-bridge.o ivy-bridge.o haswell.o \
broadwell_de.o broadwell_epex.o skylake_xeon.o \
msr.o bus.o unknown.o
CLEAN := mcelog dmi tsc dbquery .depend .depend.X dbquery.o \
diff --git a/intel.c b/intel.c
index ffb087b..f4ef9f6 100644
--- a/intel.c
+++ b/intel.c
@@ -25,7 +25,6 @@
#include "sandy-bridge.h"
#include "ivy-bridge.h"
#include "haswell.h"
-#include "xeon75xx.h"
int memory_error_support;
@@ -127,9 +126,6 @@ static int intel_memory_error(struct mce *m, unsigned recordlen)
case CPU_NEHALEM:
nehalem_memerr_misc(m, channel, dimm);
break;
- case CPU_XEON75XX:
- xeon75xx_memory_error(m, recordlen, channel, dimm);
- break;
case CPU_SANDY_BRIDGE_EP:
sandy_bridge_ep_memerr_misc(m, channel, dimm);
break;
diff --git a/nehalem.c b/nehalem.c
index e539212..fb3fdc2 100644
--- a/nehalem.c
+++ b/nehalem.c
@@ -24,7 +24,6 @@
#include "nehalem.h"
#include "bitfield.h"
#include "memdb.h"
-#include "xeon75xx.h"
/* See IA32 SDM Vol3B Appendix E.3.2 ff */
@@ -170,7 +169,6 @@ void xeon75xx_decode_model(struct mce *m, unsigned msize)
decode_bitfield(status, internal_error_status);
decode_numfield(status, internal_error_numbers);
}
- xeon75xx_decode_dimm(m, msize);
}
/* Nehalem-EP specific DIMM decoding */
diff --git a/xeon75xx.c b/xeon75xx.c
deleted file mode 100644
index 3748011..0000000
--- a/xeon75xx.c
+++ /dev/null
@@ -1,39 +0,0 @@
-/* Copyright (C) 2009/2010 Intel Corporation
-
- Decode Intel Xeon75xx memory errors. Requires the mce-75xx.ko driver
- load. The core errors are the same as Nehalem.
-
- mcelog is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public
- License as published by the Free Software Foundation; version
- 2.
-
- mcelog is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
-
- You should find a copy of v2 of the GNU General Public License somewhere
- on your Linux system; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- Author: Andi Kleen
-*/
-
-#include <stdio.h>
-#include <stddef.h>
-#include "mcelog.h"
-#include "xeon75xx.h"
-
-/* This used to decode the old xeon 75xx memory error aux format. But that has never
- been merged into mainline kernels, so removed it again. */
-
-void
-xeon75xx_memory_error(struct mce *m, unsigned msize, int *channel, int *dimm)
-{
-}
-
-
-void xeon75xx_decode_dimm(struct mce *m, unsigned msize)
-{
-}
diff --git a/xeon75xx.h b/xeon75xx.h
deleted file mode 100644
index bb2b3f4..0000000
--- a/xeon75xx.h
+++ /dev/null
@@ -1,2 +0,0 @@
-void xeon75xx_memory_error(struct mce *m, unsigned msize, int *channel, int *dimm);
-void xeon75xx_decode_dimm(struct mce *m, unsigned msize);