X-Git-Url: http://git.samba.org/samba.git/?a=blobdiff_plain;f=arch%2Fx86%2Fkernel%2Fcpu%2Fmcheck%2Fwinchip.c;fp=arch%2Fx86%2Fkernel%2Fcpu%2Fmcheck%2Fwinchip.c;h=bd5d46a32210a15deb8895c37e67e5e0dea9d7c5;hb=959274753857efe9c5f1ba35fe727f51e9aa128d;hp=7dc5564d0cdf57c0e7ca8c181f87f3ebb6f6ceb2;hpb=48e08d0fb265b007ebbb29a72297ff7e40938969;p=sfrench%2Fcifs-2.6.git diff --git a/arch/x86/kernel/cpu/mcheck/winchip.c b/arch/x86/kernel/cpu/mcheck/winchip.c index 7dc5564d0cdf..bd5d46a32210 100644 --- a/arch/x86/kernel/cpu/mcheck/winchip.c +++ b/arch/x86/kernel/cpu/mcheck/winchip.c @@ -7,14 +7,19 @@ #include #include +#include #include #include /* Machine check handler for WinChip C6: */ static void winchip_machine_check(struct pt_regs *regs, long error_code) { + enum ctx_state prev_state = ist_enter(regs); + printk(KERN_EMERG "CPU0: Machine Check Exception.\n"); add_taint(TAINT_MACHINE_CHECK, LOCKDEP_NOW_UNRELIABLE); + + ist_exit(regs, prev_state); } /* Set up machine check reporting on the Winchip C6 series */