aboutsummaryrefslogtreecommitdiffstats
path: root/arch/i386/kernel/traps.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/i386/kernel/traps.c')
-rw-r--r--arch/i386/kernel/traps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/i386/kernel/traps.c b/arch/i386/kernel/traps.c
index f0c4060bd4d5..53ad954e3ba4 100644
--- a/arch/i386/kernel/traps.c
+++ b/arch/i386/kernel/traps.c
@@ -1078,9 +1078,9 @@ void __init trap_init(void)
1078 set_trap_gate(0,&divide_error); 1078 set_trap_gate(0,&divide_error);
1079 set_intr_gate(1,&debug); 1079 set_intr_gate(1,&debug);
1080 set_intr_gate(2,&nmi); 1080 set_intr_gate(2,&nmi);
1081 set_system_intr_gate(3, &int3); /* int3-5 can be called from all */ 1081 set_system_intr_gate(3, &int3); /* int3/4 can be called from all */
1082 set_system_gate(4,&overflow); 1082 set_system_gate(4,&overflow);
1083 set_system_gate(5,&bounds); 1083 set_trap_gate(5,&bounds);
1084 set_trap_gate(6,&invalid_op); 1084 set_trap_gate(6,&invalid_op);
1085 set_trap_gate(7,&device_not_available); 1085 set_trap_gate(7,&device_not_available);
1086 set_task_gate(8,GDT_ENTRY_DOUBLEFAULT_TSS); 1086 set_task_gate(8,GDT_ENTRY_DOUBLEFAULT_TSS);