diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-06-27 04:41:56 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-08 07:16:04 -0400 |
commit | f3294a33e765d8308c3e17b951a13e0db9cf5f00 (patch) | |
tree | d73b3b157bd1e21b9dbbdd49bfbb64f5763accfb /arch/x86/kernel/traps_32.c | |
parent | ab67715c7201be2fe729888a09007b6ba5bb2326 (diff) |
x86: let setup_arch call init_apic_mappings for 32bit
instead of calling it from trap_init()
also move init ioapic mapping out of apic_32.c
so 32 bit do same as 64 bit
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/traps_32.c')
-rw-r--r-- | arch/x86/kernel/traps_32.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86/kernel/traps_32.c b/arch/x86/kernel/traps_32.c index dc7c05e5cfe7..f60feee83253 100644 --- a/arch/x86/kernel/traps_32.c +++ b/arch/x86/kernel/traps_32.c | |||
@@ -1198,10 +1198,6 @@ void __init trap_init(void) | |||
1198 | early_iounmap(p, 4); | 1198 | early_iounmap(p, 4); |
1199 | #endif | 1199 | #endif |
1200 | 1200 | ||
1201 | #ifdef CONFIG_X86_LOCAL_APIC | ||
1202 | init_apic_mappings(); | ||
1203 | #endif | ||
1204 | set_trap_gate(0, ÷_error); | ||
1205 | set_intr_gate(1, &debug); | 1201 | set_intr_gate(1, &debug); |
1206 | set_intr_gate(2, &nmi); | 1202 | set_intr_gate(2, &nmi); |
1207 | set_system_intr_gate(3, &int3); /* int3/4 can be called from all */ | 1203 | set_system_intr_gate(3, &int3); /* int3/4 can be called from all */ |