patch-2.0.11 linux/arch/i386/kernel/traps.c
Next file: linux/drivers/block/Config.in
Previous file: linux/arch/i386/kernel/process.c
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Thu Aug 1 12:30:25 1996
- Orig file:
v2.0.10/linux/arch/i386/kernel/traps.c
- Orig date:
Wed May 15 07:56:41 1996
diff -u --recursive --new-file v2.0.10/linux/arch/i386/kernel/traps.c linux/arch/i386/kernel/traps.c
@@ -173,8 +173,12 @@
DO_ERROR(10, SIGSEGV, "invalid TSS", invalid_TSS, current)
DO_ERROR(11, SIGBUS, "segment not present", segment_not_present, current)
DO_ERROR(12, SIGBUS, "stack segment", stack_segment, current)
-DO_ERROR(15, SIGSEGV, "reserved", reserved, current)
DO_ERROR(17, SIGSEGV, "alignment check", alignment_check, current)
+
+asmlinkage void do_reserved(struct pt_regs * regs, long error_code)
+{
+ printk("Uhhuh.. Reserved trap code, whazzup? (%ld)\n", error_code);
+}
asmlinkage void do_general_protection(struct pt_regs * regs, long error_code)
{
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov