x86: fix "x86: let setup_arch call init_apic_mappings for 32bit"
add back this line lost from trap_init(): set_trap_gate(0, ÷_error); Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
4a7017370a
commit
aea5f9f89b
@ -1198,6 +1198,7 @@ void __init trap_init(void)
|
|||||||
early_iounmap(p, 4);
|
early_iounmap(p, 4);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
set_trap_gate(0, ÷_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 */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user