summaryrefslogtreecommitdiffstats
path: root/drivers/edac/edac_mce_amd.c
diff options
context:
space:
mode:
authorBorislav Petkov <borislav.petkov@amd.com>2009-10-27 19:12:02 +0100
committerBorislav Petkov <borislav.petkov@amd.com>2009-12-07 19:14:30 +0100
commitcec7924f568eddcccdbfd814b136554b1b8dc624 (patch)
tree1269c7384b39c55ba8eb68f7dc577bc56ff92879 /drivers/edac/edac_mce_amd.c
parent1f6bcee75e83bc5b580bfa5b909b1b5ce106b800 (diff)
downloadop-kernel-dev-cec7924f568eddcccdbfd814b136554b1b8dc624.zip
op-kernel-dev-cec7924f568eddcccdbfd814b136554b1b8dc624.tar.gz
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 689cc6a..c693fcc 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)
* value encoding has changed so interpret those differently
*/
if ((boot_cpu_data.x86 == 0x10) &&
- (boot_cpu_data.x86_model > 8)) {
+ (boot_cpu_data.x86_model > 7)) {
if (regs->nbsh & K8_NBSH_ERR_CPU_VAL)
pr_cont(", core: %u\n", (u8)(regs->nbsh & 0xf));
} else {
OpenPOWER on IntegriCloud