x86: io_apic: Split setup_ioapic_ids_from_mpc()
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Fri, 26 Nov 2010 16:50:20 +0000 (17:50 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 6 Dec 2010 13:30:28 +0000 (14:30 +0100)
commita38c5380ef9f088be9f49b6e4c5d80af8b1b5cd4
treefd57af94aa3dd6992b46059f6d0994da5ed30bc1
parent7fb2b870d6a3b92f6750ac2b72858fd098dc9e3f
x86: io_apic: Split setup_ioapic_ids_from_mpc()

Sodaville needs to setup the IO_APIC ids as the boot loader leaves
them uninitialized. Split out the setter function so it can be called
unconditionally from the sodaville board code.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: Yinghai Lu <yinghai@kernel.org>
LKML-Reference: <20101126165020.GA26361@www.tglx.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/include/asm/io_apic.h
arch/x86/kernel/apic/io_apic.c