diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-07-04 06:16:55 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-08 07:16:27 -0400 |
commit | aea5f9f89bae5d5f9eb3fe3cddedbbfb82e6e44f (patch) | |
tree | b9a38637cc511a50c3f4512c0b7a9ad95bd0a5a5 | |
parent | 4a7017370aa0a94a00ae5b5705e9169cdcae5fb8 (diff) |
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>
-rw-r--r-- | arch/x86/kernel/traps_32.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/traps_32.c b/arch/x86/kernel/traps_32.c index f60feee83253..d7cc292691ff 100644 --- a/arch/x86/kernel/traps_32.c +++ b/arch/x86/kernel/traps_32.c | |||
@@ -1198,6 +1198,7 @@ void __init trap_init(void) | |||
1198 | early_iounmap(p, 4); | 1198 | early_iounmap(p, 4); |
1199 | #endif | 1199 | #endif |
1200 | 1200 | ||
1201 | set_trap_gate(0, ÷_error); | ||
1201 | set_intr_gate(1, &debug); | 1202 | set_intr_gate(1, &debug); |
1202 | set_intr_gate(2, &nmi); | 1203 | set_intr_gate(2, &nmi); |
1203 | set_system_intr_gate(3, &int3); /* int3/4 can be called from all */ | 1204 | set_system_intr_gate(3, &int3); /* int3/4 can be called from all */ |