]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
edac, mce: update AMD F10h revD check
authorBorislav Petkov <borislav.petkov@amd.com>
Tue, 27 Oct 2009 18:12:02 +0000 (19:12 +0100)
committerBorislav Petkov <borislav.petkov@amd.com>
Mon, 7 Dec 2009 18:14:30 +0000 (19:14 +0100)
F10h revD start with model number 8.

Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
drivers/edac/edac_mce_amd.c

index 689cc6a6214df3b2f9aecb04aedabeaa2779955d..c693fcc2213c67181126df50168071f1b0210413 100644 (file)
@@ -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 {