x86-32: Don't set ignore_fpu_irq in simd exception
authorBrian Gerst <brgerst@gmail.com>
Sun, 21 Mar 2010 13:00:46 +0000 (09:00 -0400)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 3 May 2010 20:39:32 +0000 (13:39 -0700)
Any processor that supports simd will have an internal fpu, and the
irq13 handler will not be enabled.

Signed-off-by: Brian Gerst <brgerst@gmail.com>
LKML-Reference: <1269176446-2489-5-git-send-email-brgerst@gmail.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/kernel/traps.c

index 53ba86f..00516e1 100644 (file)
@@ -675,10 +675,6 @@ dotraplinkage void do_coprocessor_error(struct pt_regs *regs, long error_code)
 dotraplinkage void
 do_simd_coprocessor_error(struct pt_regs *regs, long error_code)
 {
-#ifdef CONFIG_X86_32
-       ignore_fpu_irq = 1;
-#endif
-
        math_error(regs, error_code, 19);
 }