From aea5f9f89bae5d5f9eb3fe3cddedbbfb82e6e44f Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 4 Jul 2008 12:16:55 +0200 Subject: [PATCH] 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 --- arch/x86/kernel/traps_32.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/kernel/traps_32.c b/arch/x86/kernel/traps_32.c index f60feee8325..d7cc292691f 100644 --- a/arch/x86/kernel/traps_32.c +++ b/arch/x86/kernel/traps_32.c @@ -1198,6 +1198,7 @@ void __init trap_init(void) early_iounmap(p, 4); #endif + set_trap_gate(0, ÷_error); set_intr_gate(1, &debug); set_intr_gate(2, &nmi); set_system_intr_gate(3, &int3); /* int3/4 can be called from all */ -- 2.32.0.93.g670b81a890