aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac/edac_mce_amd.c
diff options
context:
space:
mode:
authorBorislav Petkov <borislav.petkov@amd.com>2009-10-27 14:12:02 -0400
committerBorislav Petkov <borislav.petkov@amd.com>2009-12-07 13:14:30 -0500
commitcec7924f568eddcccdbfd814b136554b1b8dc624 (patch)
tree1269c7384b39c55ba8eb68f7dc577bc56ff92879 /drivers/edac/edac_mce_amd.c
parent1f6bcee75e83bc5b580bfa5b909b1b5ce106b800 (diff)
edac, mce: update AMD F10h revD check
F10h revD start with model number 8. Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Diffstat (limited to 'drivers/edac/edac_mce_amd.c')
-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 {