[PATCH 4/4] x86-32: Don't set ignore_fpu_irq in simd exception

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Brian Gerst
Date: Sunday, March 21, 2010 - 6:00 am

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>
---
 arch/x86/kernel/traps.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/arch/x86/kernel/traps.c b/arch/x86/kernel/traps.c
index d53a443..3e271ed 100644
--- a/arch/x86/kernel/traps.c
+++ b/arch/x86/kernel/traps.c
@@ -672,10 +672,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);
 }
 
-- 
1.6.6.1

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/4] x86-32: Rework cache flush denied handler, Brian Gerst, (Sun Mar 21, 6:00 am)
[PATCH 4/4] x86-32: Don't set ignore_fpu_irq in simd exception, Brian Gerst, (Sun Mar 21, 6:00 am)
[tip:x86/fpu] x86-32: Rework cache flush denied handler, tip-bot for Brian Gerst, (Mon May 3, 2:21 pm)
[tip:x86/fpu] x86: Merge simd_math_error() into math_error(), tip-bot for Brian Gerst, (Mon May 3, 2:22 pm)
[tip:x86/fpu] x86: Merge kernel_math_error() into math_error(), tip-bot for Brian Gerst, (Mon May 3, 2:22 pm)
[tip:x86/fpu] x86-32: Don't set ignore_fpu_irq in simd exc ..., tip-bot for Brian Gerst, (Mon May 3, 2:22 pm)