Skip to contentSkip to conversation

remove old double fault handler

PATCH New Brian Gerst 1 participant 1 message Feb 22, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

arch/i386/kernel/entry.S +0 -4
diff -urN linux-2.5.62-bk7/arch/i386/kernel/entry.S linux/arch/i386/kernel/entry.S
@@ -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
arch/i386/kernel/traps.c +0 -3
diff -urN linux-2.5.62-bk7/arch/i386/kernel/traps.c linux/arch/i386/kernel/traps.c
@@ -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)