x86: untable __init references between IO data
authorAndi Kleen <ak@suse.de>
Wed, 30 Jan 2008 12:30:40 +0000 (13:30 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:30:40 +0000 (13:30 +0100)
commit739f33b38bf88312447e38ae8b7ac3acdbb72a6b
tree2d5e09f00175f7078f519609c20624a8e77f0e5b
parent3f6e5a12b8384ab9816ba6703f4b4be87ac94b5a
x86: untable __init references between IO data

Earlier patch added IO APIC setup into local APIC setup. This caused
modpost warnings. Fix them by untangling setup_local_APIC() and splitting
it into smaller functions. The IO APIC initialization is only called
for the BP init.

Also removed some outdated debugging code and minor cleanup.

[ tglx: arch/x86 adaptation ]

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/apic_64.c
arch/x86/kernel/smpboot_64.c
include/asm-x86/apic.h