[PATCH 5/5] 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: Thursday, March 18, 2010 - 11:20 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 6384066..91da091 100644
--- a/arch/x86/kernel/traps.c
+++ b/arch/x86/kernel/traps.c
@@ -697,10 +697,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 0/5] x86: Merge fpu and simd exception handlers, Brian Gerst, (Thu Mar 18, 11:20 am)
[PATCH 2/5] x86-32: Remove die_if_kernel(), Brian Gerst, (Thu Mar 18, 11:20 am)
[PATCH 5/5] x86-32: Don't set ignore_fpu_irq in simd exception, Brian Gerst, (Thu Mar 18, 11:20 am)