]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
x86: fix "x86: let setup_arch call init_apic_mappings for 32bit"
authorIngo Molnar <mingo@elte.hu>
Fri, 4 Jul 2008 10:16:55 +0000 (12:16 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 8 Jul 2008 11:16:27 +0000 (13:16 +0200)
add back this line lost from trap_init():

        set_trap_gate(0,  &divide_error);

Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/traps_32.c

index f60feee83253a757ccf637963ae38e9d9f34e7d6..d7cc292691ff9b1262048d5d354f596dd6f8f5ad 100644 (file)
@@ -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 */