Blame SOURCES/rasdaemon-dont_use_memerror_log_enable_on_knl.patch

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