lkml.org 
[lkml]   [2010]   [May]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[tip:x86/fpu] x86-32: Don't set ignore_fpu_irq in simd exception
Commit-ID:  250825008f1f94887bc039e9227a8adfb5ba366e
Gitweb: http://git.kernel.org/tip/250825008f1f94887bc039e9227a8adfb5ba366e
Author: Brian Gerst <brgerst@gmail.com>
AuthorDate: Sun, 21 Mar 2010 09:00:46 -0400
Committer: H. Peter Anvin <hpa@zytor.com>
CommitDate: Mon, 3 May 2010 13:39:32 -0700

x86-32: Don't set ignore_fpu_irq in simd exception

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 | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/arch/x86/kernel/traps.c b/arch/x86/kernel/traps.c
index 53ba86f..00516e1 100644
--- a/arch/x86/kernel/traps.c
+++ b/arch/x86/kernel/traps.c
@@ -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);
}


\
 
 \ /
  Last update: 2010-05-03 23:25    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site