Blame SOURCES/rasdaemon-dont_use_memerror_log_enable_on_knl.patch

d9e469
diff --git a/mce-intel.c b/mce-intel.c
d9e469
index bf68d9b..80e4b6f 100644
d9e469
--- a/mce-intel.c
d9e469
+++ b/mce-intel.c
d9e469
@@ -470,7 +470,6 @@ int set_intel_imc_log(enum cputype cputype, unsigned ncpus)
d9e469
 	case CPU_SANDY_BRIDGE_EP:
d9e469
 	case CPU_IVY_BRIDGE_EPEX:
d9e469
 	case CPU_HASWELL_EPEX:
d9e469
-	case CPU_KNIGHTS_LANDING:
d9e469
 		msr = 0x17f;	/* MSR_ERROR_CONTROL */
d9e469
 		bit = 0x2;	/* MemError Log Enable */
d9e469
 		break;
d9e469
diff --git a/ras-mce-handler.c b/ras-mce-handler.c
d9e469
index b875512..f930fd1 100644
d9e469
--- a/ras-mce-handler.c
d9e469
+++ b/ras-mce-handler.c
d9e469
@@ -228,7 +228,6 @@ int register_mce_handler(struct ras_events *ras, unsigned ncpus)
d9e469
 	case CPU_SANDY_BRIDGE_EP:
d9e469
 	case CPU_IVY_BRIDGE_EPEX:
d9e469
 	case CPU_HASWELL_EPEX:
d9e469
-	case CPU_KNIGHTS_LANDING:
d9e469
 		set_intel_imc_log(mce->cputype, ncpus);
d9e469
 	default:
d9e469
 		break;