x86, mce: use force_sig_info to kill process in machine check
commit380851bc6b1b4107c61dfa2997f9095dcf779336
authorAndi Kleen <andi@firstfloor.org>
Thu, 12 Feb 2009 12:39:33 +0000 (12 13:39 +0100)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 17 Feb 2009 23:24:31 +0000 (17 15:24 -0800)
tree1b80fb980d33323421d8d3e76965d3f798756520
parent6ec68bff3c81e776a455f6aca95c8c5f1d630198
x86, mce: use force_sig_info to kill process in machine check

Impact: bug fix (with tolerant == 3)

do_exit cannot be called directly from the exception handler because
it can sleep and the exception handler runs on the exception stack.
Use force_sig() instead.

Based on a earlier patch by Ying Huang who debugged the problem.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/kernel/cpu/mcheck/mce_64.c