lkml.org 
[lkml]   [2003]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] remove old double fault handler
Removes the now unused trap handler for double faults.  Also removes the 
never used handler for fpu not available.

--
Brian Gerst
diff -urN linux-2.5.62-bk7/arch/i386/kernel/entry.S linux/arch/i386/kernel/entry.S
--- linux-2.5.62-bk7/arch/i386/kernel/entry.S 2003-02-21 14:48:27.000000000 -0500
+++ linux/arch/i386/kernel/entry.S 2003-02-21 20:43:13.000000000 -0500
@@ -500,10 +500,6 @@
pushl $do_coprocessor_segment_overrun
jmp error_code

-ENTRY(double_fault)
- pushl $do_double_fault
- jmp error_code
-
ENTRY(invalid_TSS)
pushl $do_invalid_TSS
jmp error_code
diff -urN linux-2.5.62-bk7/arch/i386/kernel/traps.c linux/arch/i386/kernel/traps.c
--- linux-2.5.62-bk7/arch/i386/kernel/traps.c 2003-02-21 14:48:27.000000000 -0500
+++ linux/arch/i386/kernel/traps.c 2003-02-21 20:44:10.000000000 -0500
@@ -73,7 +73,6 @@
asmlinkage void bounds(void);
asmlinkage void invalid_op(void);
asmlinkage void device_not_available(void);
-asmlinkage void double_fault(void);
asmlinkage void coprocessor_segment_overrun(void);
asmlinkage void invalid_TSS(void);
asmlinkage void segment_not_present(void);
@@ -349,8 +348,6 @@
DO_VM86_ERROR( 4, SIGSEGV, "overflow", overflow)
DO_VM86_ERROR( 5, SIGSEGV, "bounds", bounds)
DO_ERROR_INFO( 6, SIGILL, "invalid operand", invalid_op, ILL_ILLOPN, regs->eip)
-DO_VM86_ERROR( 7, SIGSEGV, "device not available", device_not_available)
-DO_ERROR( 8, SIGSEGV, "double fault", double_fault)
DO_ERROR( 9, SIGFPE, "coprocessor segment overrun", coprocessor_segment_overrun)
DO_ERROR(10, SIGSEGV, "invalid TSS", invalid_TSS)
DO_ERROR(11, SIGBUS, "segment not present", segment_not_present)
\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.029 / U:0.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site