[PATCH] remove old double fault handler

From: Brian Gerst (bgerst@didntduck.org)
Date: Fri Feb 21 2003 - 21:31:17 EST


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)

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Feb 23 2003 - 22:00:35 EST