Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 113490
b: refs/heads/master
c: 976382d
h: refs/heads/master
v: v3
  • Loading branch information
Alexander van Heukelum authored and Ingo Molnar committed Oct 13, 2008
1 parent e80e91d commit 36a94d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 61aef7d24909b95f9eddaa78d78902fbea1d7059
refs/heads/master: 976382dcbe3a2233f48cda5b0840874f43a30825
4 changes: 2 additions & 2 deletions trunk/arch/x86/kernel/traps_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ void do_##name(struct pt_regs *regs, long error_code) \
do_trap(trapnr, signr, str, 1, regs, error_code, &info); \
}

DO_VM86_TRAP_INFO(0, SIGFPE, "divide error", divide_error, FPE_INTDIV, regs->ip)
DO_VM86_ERROR_INFO(0, SIGFPE, "divide error", divide_error, FPE_INTDIV, regs->ip)
#ifndef CONFIG_KPROBES
DO_VM86_TRAP(3, SIGTRAP, "int3", int3)
#endif
Expand Down Expand Up @@ -1247,7 +1247,7 @@ void __init trap_init(void)
early_iounmap(p, 4);
#endif

set_trap_gate(0, &divide_error);
set_intr_gate(0, &divide_error);
set_intr_gate(1, &debug);
set_intr_gate(2, &nmi);
set_system_intr_gate(3, &int3); /* int3 can be called from all */
Expand Down

0 comments on commit 36a94d7

Please sign in to comment.