Skip to content

Commit

Permalink
x86: fix "x86: let setup_arch call init_apic_mappings for 32bit"
Browse files Browse the repository at this point in the history
add back this line lost from trap_init():

        set_trap_gate(0,  &divide_error);

Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Ingo Molnar committed Jul 8, 2008
1 parent 4a70173 commit aea5f9f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/x86/kernel/traps_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -1198,6 +1198,7 @@ void __init trap_init(void)
early_iounmap(p, 4);
#endif

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

0 comments on commit aea5f9f

Please sign in to comment.