Commit aea5f9f8 authored by Ingo Molnar's avatar Ingo Molnar

x86: fix "x86: let setup_arch call init_apic_mappings for 32bit"

add back this line lost from trap_init():

        set_trap_gate(0,  &divide_error);
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 4a701737
...@@ -1198,6 +1198,7 @@ void __init trap_init(void) ...@@ -1198,6 +1198,7 @@ void __init trap_init(void)
early_iounmap(p, 4); early_iounmap(p, 4);
#endif #endif
set_trap_gate(0, &divide_error);
set_intr_gate(1, &debug); set_intr_gate(1, &debug);
set_intr_gate(2, &nmi); set_intr_gate(2, &nmi);
set_system_intr_gate(3, &int3); /* int3/4 can be called from all */ set_system_intr_gate(3, &int3); /* int3/4 can be called from all */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment