x86: let setup_arch call init_apic_mappings for 32bit
authorYinghai Lu <yhlu.kernel@gmail.com>
Fri, 27 Jun 2008 08:41:56 +0000 (01:41 -0700)
committerIngo Molnar <mingo@elte.hu>
Tue, 8 Jul 2008 11:16:04 +0000 (13:16 +0200)
commitf3294a33e765d8308c3e17b951a13e0db9cf5f00
treed73b3b157bd1e21b9dbbdd49bfbb64f5763accfb
parentab67715c7201be2fe729888a09007b6ba5bb2326
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>
arch/x86/kernel/apic_32.c
arch/x86/kernel/io_apic_32.c
arch/x86/kernel/setup.c
arch/x86/kernel/traps_32.c
include/asm-x86/apic.h
include/asm-x86/io_apic.h