aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/edac/edac_mce_amd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/edac/edac_mce_amd.c b/drivers/edac/edac_mce_amd.c
index 689cc6a6214d..c693fcc2213c 100644
--- a/drivers/edac/edac_mce_amd.c
+++ b/drivers/edac/edac_mce_amd.c
@@ -306,7 +306,7 @@ void amd_decode_nb_mce(int node_id, struct err_regs *regs, int handle_errors)
306 * value encoding has changed so interpret those differently 306 * value encoding has changed so interpret those differently
307 */ 307 */
308 if ((boot_cpu_data.x86 == 0x10) && 308 if ((boot_cpu_data.x86 == 0x10) &&
309 (boot_cpu_data.x86_model > 8)) { 309 (boot_cpu_data.x86_model > 7)) {
310 if (regs->nbsh & K8_NBSH_ERR_CPU_VAL) 310 if (regs->nbsh & K8_NBSH_ERR_CPU_VAL)
311 pr_cont(", core: %u\n", (u8)(regs->nbsh & 0xf)); 311 pr_cont(", core: %u\n", (u8)(regs->nbsh & 0xf));
312 } else { 312 } else {