x86: Unify 3 similar ways of saving mp_irqs info
authorFeng Tang <feng.tang@intel.com>
Fri, 19 Nov 2010 03:33:35 +0000 (11:33 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 9 Dec 2010 20:52:06 +0000 (21:52 +0100)
commit2d8009ba67f9503ceadf9d5a3b5637cee291ea8d
treeab3ca6aacc84b5fb0135909e788c5b65830cd75f
parent60d79fd99ff3b9c692b260a4d53a203f537c052a
x86: Unify 3 similar ways of saving mp_irqs info

There are 3 places defining similar functions of saving IRQ vector
info into mp_irqs[] array: mmparse/acpi/mrst.

Replace the redundant code by a common function in io_apic.c as it's
only called when CONFIG_X86_IO_APIC=y

Signed-off-by: Feng Tang <feng.tang@intel.com>
Cc: Alan Cox <alan@linux.intel.com>
Cc: Len Brown <len.brown@intel.com>
Cc: Yinghai Lu <yinghai@kernel.org>
LKML-Reference: <20101207133204.4d913c5a@feng-i7>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/include/asm/io_apic.h
arch/x86/kernel/acpi/boot.c
arch/x86/kernel/apic/io_apic.c
arch/x86/kernel/mpparse.c
arch/x86/platform/mrst/mrst.c
This page took 0.033501 seconds and 5 git commands to generate.