Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aea5f9f8 authored by Ingo Molnar's avatar Ingo Molnar
Browse files

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
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -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 */