diff options
Diffstat (limited to 'arch/x86/kernel/traps.c')
-rw-r--r-- | arch/x86/kernel/traps.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/x86/kernel/traps.c b/arch/x86/kernel/traps.c index 8276dc6794cc..4e1478c12344 100644 --- a/arch/x86/kernel/traps.c +++ b/arch/x86/kernel/traps.c | |||
@@ -69,9 +69,6 @@ | |||
69 | 69 | ||
70 | asmlinkage int system_call(void); | 70 | asmlinkage int system_call(void); |
71 | 71 | ||
72 | /* Do we ignore FPU interrupts ? */ | ||
73 | char ignore_fpu_irq; | ||
74 | |||
75 | /* | 72 | /* |
76 | * The IDT has to be page-aligned to simplify the Pentium | 73 | * The IDT has to be page-aligned to simplify the Pentium |
77 | * F0 0F bug workaround. | 74 | * F0 0F bug workaround. |
@@ -564,9 +561,6 @@ void math_error(struct pt_regs *regs, int error_code, int trapnr) | |||
564 | 561 | ||
565 | dotraplinkage void do_coprocessor_error(struct pt_regs *regs, long error_code) | 562 | dotraplinkage void do_coprocessor_error(struct pt_regs *regs, long error_code) |
566 | { | 563 | { |
567 | #ifdef CONFIG_X86_32 | ||
568 | ignore_fpu_irq = 1; | ||
569 | #endif | ||
570 | exception_enter(regs); | 564 | exception_enter(regs); |
571 | math_error(regs, error_code, X86_TRAP_MF); | 565 | math_error(regs, error_code, X86_TRAP_MF); |
572 | exception_exit(regs); | 566 | exception_exit(regs); |