aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/edac/e752x_edac.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/drivers/edac/e752x_edac.c b/drivers/edac/e752x_edac.c
index d205d493a68a..795fcd1eec1c 100644
--- a/drivers/edac/e752x_edac.c
+++ b/drivers/edac/e752x_edac.c
@@ -1073,10 +1073,7 @@ fail:
1073 1073
1074/* Setup system bus parity mask register. 1074/* Setup system bus parity mask register.
1075 * Sysbus parity supported on: 1075 * Sysbus parity supported on:
1076 * e7320/e7520/e7525 + Xeon 1076 * e7320/e7520/e7525 + Xeon
1077 * i3100 + Xeon/Celeron
1078 * Sysbus parity not supported on:
1079 * i3100 + Pentium M/Celeron M/Core Duo/Core2 Duo
1080 */ 1077 */
1081static void e752x_init_sysbus_parity_mask(struct e752x_pvt *pvt) 1078static void e752x_init_sysbus_parity_mask(struct e752x_pvt *pvt)
1082{ 1079{
@@ -1087,10 +1084,7 @@ static void e752x_init_sysbus_parity_mask(struct e752x_pvt *pvt)
1087 /* Allow module parameter override, else see if CPU supports parity */ 1084 /* Allow module parameter override, else see if CPU supports parity */
1088 if (sysbus_parity != -1) { 1085 if (sysbus_parity != -1) {
1089 enable = sysbus_parity; 1086 enable = sysbus_parity;
1090 } else if (cpu_id[0] && 1087 } else if (cpu_id[0] && !strstr(cpu_id, "Xeon")) {
1091 ((strstr(cpu_id, "Pentium") && strstr(cpu_id, " M ")) ||
1092 (strstr(cpu_id, "Celeron") && strstr(cpu_id, " M ")) ||
1093 (strstr(cpu_id, "Core") && strstr(cpu_id, "Duo")))) {
1094 e752x_printk(KERN_INFO, "System Bus Parity not " 1088 e752x_printk(KERN_INFO, "System Bus Parity not "
1095 "supported by CPU, disabling\n"); 1089 "supported by CPU, disabling\n");
1096 enable = 0; 1090 enable = 0;