/* * Athlon/Hammer specific Machine Check Exception Reporting * (C) Copyright 2002 Dave Jones */ #include #include #include #include #include #include #include #include #include "mce.h" /* Machine Check Handler For AMD Athlon/Duron */ static void k7_machine_check(struct pt_regs * regs, long error_code) { int recover=1; u32 alow, ahigh, high, low; u32 mcgstl, mcgsth; int i; rdmsr (MSR_IA32_MCG_STATUS, mcgstl, mcgsth); if (mcgstl & (1<<0)) /* Recoverable ? */ recover=0; printk (KERN_EMERG "CPU %d: Machine Check Exception: %08x%08x\n", smp_processor_id(), mcgsth, mcgstl); for (i=1; i